vim-rescript
vim-rescript copied to clipboard
ctags / tags integration for listing the outline
A common VIM workflow is to create tags file (often via ctags
). There is no ReScript / ctags language extension, but maybe this is not even needed.
In a first version it would be perfectly fine to comply to the ctags file format and use the editor-support
binary to retrieve the data for our modules.
When rescript-vscode supports outlines, it would also be possible to use that functionality to list outlines via coc-vim of course. I want to have a vanilla vim version first though.
Also check out how to use tags / how to create tag files in vim.
still watch this feature
I have been using ReScript LSP + https://github.com/simrat39/symbols-outline.nvim to get an outline view.
However, the generated view is flat. Heirarchy is missing from the outline.
I tried another plugin https://github.com/stevearc/aerial.nvim with the same result.
VS Code, however, produces a nice heirarchical outline.
Any idea on how this could be fixed?