Due to requirements of some plugins, recommend to use latest release of Neovim or nightly version
- git
- C, C++ compiler: For nvim-treesitter
- ripgrep: For Telescope.nvim live grep
- cscope: For cscope_maps.nvim
- bear (Optional): For C LSP. Using
compile_commands.json, the syntax highlighting could be more informative.
sudo apt install git
sudo apt install build-essential # C/C++ compiler
sudo apt install ripgrep
sudo apt install cscope
sudo apt install bearsudo pacman -S git
sudo pacman -S gcc # g++ included in this package
sudo pacman -S ripgrep
sudo pacman -S cscope
sudo pacman -S bearsudo dnf install git
sudo dnf install gcc gcc-c++
sudo dnf install ripgrep
sudo dnf install cscope
sudo dnf install bearscoop install git
scoop install gcc
scoop install ripgrep
scoop install cscope- Recommend to use Homebrew package manager
- Default C/C++ compiler in macOS is
clang, which can be installed with Xcode command line tools gitalso can be installed with Xcode command line tools
brew install ripgrep
brew install cscope
brew install bear- FreeBSD ships with pre-installed C/C++ compiler (
clang)
sudo pkg install git
sudo pkg install ripgrep
sudo pkg install cscope
sudo pkg install bear- barbecue.nvim
- bufferline.nvim
- cscope_maps.nvim
- dashboard-nvim
- git-blame.nvim
- gitsigns.nvim
- hlargs.nvim
- indent-blankline.nvim
- lazy.nvim
- leap.nvim
- lualine.nvim
- mason-lspconfig.nvim
- mason.nvim
- mini.indentscope
- neo-tree.nvim
- neovim-session-manager
- noice.nvim
- nvim-autopairs
- nvim-cmp
- nvim-highlight-colors
- nvim-lspconfig
- nvim-surround
- nvim-treesitter
- nvim-treesitter-context
- nvim-treesitter-textobjects
- nvim_context_vt
- outline.nvim
- telescope-live-grep-args.nvim
- telescope.nvim
- tokyonight.nvim
- vim-illuminate
- which-key.nvim
- cmp-buffer
- cmp-cmdline
- cmp-nvim-lsp
- cmp-nvim-lua
- cmp-path
- cmp-snippy
- lspkind.nvim
- nui.nvim
- nvim-navic
- nvim-notify
- nvim-snippy
- nvim-web-devicons
- plenary.nvim
- vim-repeat
- In the cscope_maps.nvim configuration, I set a default keymap for
:Cscope buildas F5. - Since cscope_maps.nvim do not support origianl
:cscommand (only:Cscope), I make a alias so that:csbecomes:Cscope - You may build your own C projects with bear to generate
compile_command.json. It would help colorscheme plugin make more accurate syntax highlighting.