tagbar
navigator.lua
Our great sponsors
tagbar | navigator.lua | |
---|---|---|
31 | 37 | |
6,081 | 1,207 | |
0.3% | - | |
4.7 | 7.9 | |
about 2 months ago | 2 months ago | |
Vim Script | Lua | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tagbar
-
A function to list all function signatures in the current C source file in the quick fix window .
Check this plugin: https://github.com/preservim/tagbar
-
Moving across c-family function arguments
Are you looking for https://vim-taglist.sourceforge.net/ or https://github.com/preservim/tagbar
-
What is this font used from the everforest repo?
I ended up finding https://github.com/preservim/tagbar and like it so far
-
NeoVim & Rust
I also recommend you https://github.com/preservim/tagbar with https://ctags.io/ installed , it will map definitions (functions, enum, struct etc..) to tags and tagbar plugin allows you to open a split window with the mapped list and navigate through your file, it also enabled more advanced features for quick navigation .
-
Question regarding vertical movement
Also not that useful for text files I think, but I sometimes use something like https://github.com/preservim/tagbar to get an overview of the structure of the file, especially in unfamiliar documents. This is a quite old plugin of this nature that depends on ctags, there are more modern plugins that depend on treesitter. However for C++, I found the treesitter based bar plugins not as helpful, they need language specific settings, and the ones I tried didn't have them for C++ at the time.
-
Favorite vimrc configs for coding?
Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
-
converting vimscript to lua
Hey, I checked out tagbar plugin. It's really cool. It supports most of the languages. But the ones that needs to be configured, are mentioned in their wiki. It mentions vimscript in it. What will be the lua version of following vimscript?
-
NeoVim Installation and Configuration on Win10/11
:set number :set autoindent :set tabstop=5 :set shiftwidth=4 :set smarttab :set softtabstop=4 :set mouse=a call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " For brackets autocompletion " Auto-completion For Javascript, typescript, html, jsx ...etc Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} " this is for auto complete, prettier and tslinting let g:coc_global_extensions = ['coc-tslint-plugin', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-prettier'] " list of CoC extensions needed Plug 'jiangmiao/auto-pairs' "this will auto close ( [ { " these two plugins will add highlighting and indenting to JSX and TSX files. Plug 'yuezk/vim-js' Plug 'HerringtonDarkholme/yats.vim' Plug 'maxmellon/vim-jsx-pretty' set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :call CocActionAsync('jumpDefinition') nmap :TagbarToggle :set completeopt-=preview " For No Previews :colorscheme jellybeans let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " --- Just Some Notes --- " :PlugClean :PlugInstall :UpdateRemotePlugins " " :CocInstall coc-python " :CocInstall coc-clangd " :CocInstall coc-snippets " :CocCommand snippets.edit... FOR EACH FILE TYPE " air-line let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' inoremap pumvisible() ? coc#_select_confirm() : ""
-
Closing brackets are highlighted in red when in the init.vim file
Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation
-
Is there a plugin similar to Visual Studio's object browser/class view?
https://github.com/preservim/tagbar (no LSP support)
navigator.lua
-
Using navigator.lua
I've been wondering what is codelens feature that astro has bindings for and found navigator.lua.
-
Does anyone have tailwindcss lsp working properly?
I use navgiator.lua to manage my lsp servers. You can find my lsp file here. I have the tailwindcss lsp server loaded, but I don't see any auto-completion. I even tried to manually load it with lspconfig like: lua require("lspconfig").tailwindcss.setup({}) and it still doesn't work. I then watched this video to see if I'm doing anything wrong, and it looks like I'm not. Can someone show their config with a working tailwindcss lsp server?
-
Help with C++, Cmake, lua config?
likely https://github.com/ray-x/navigator.lua which can help set up lsp for you
-
Multi-cursor in place renaming symbol with preview
navigator.lua used to override vim.ui.input with guihua.lua input window to provide a GUI prompet for renaming. Inspired by inc-rename plugin smjonas/inc-rename.nvim, now, user can preview rename in the current buffer will be displayed in runtime with navigator.lua.
-
Is there a plugin like navigator.lua without the full LSP package?
I really want to try the LSP refernces window in navigator.lua but I don't want it to "take over" my lsp setup. Is there an alternative plugin?
-
Let the IDE wars, uh, continue!
Depending on what you mean, either https://github.com/ray-x/navigator.lua or lsp (nvim/coc/ycm)
-
Is there a plugin similar to Visual Studio's object browser/class view?
https://github.com/ray-x/navigator.lua also provides treesitter/Lsp outline.
-
Looking for treesitter-based (but not LSP-based) plugins with commands like "hover documentation"
[ray-x/navigator.lua](https://github.com/ray-x/navigator.lua) requires LSP for lots of things, including go-to-definition (ABICT from [looking at the code](https://github.com/ray-x/navigator.lua/blob/4c5d0e67d0ca05dbbf6cdcc89b0546a5872bdbca/lua/navigator/definition.lua#L150-L162)). Even the docs seem to say that an LSP server is required.
-
What is the most impressive usage of Treesitter have you ever seen?
navigator.lua: use treesitter to analysis symbol scope/context, Also a treesitter based folding (a modified version of official ts folding) foldts it provides a vs-code style of folding. Document treesitter symbol outline etc.
- What are some of your favorite eye candy plugins?
What are some alternatives?
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
vista.vim - :cactus: Viewer & Finder for LSP symbols and tags
vim-gutentags - A Vim plugin that manages your tag files
vim-awesome - Awesome Vim plugins from across the universe
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
vim-markdown - Markdown Vim Mode
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
lsp-colors.nvim - 🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client.