Skip to content

Commit

Permalink
neovim: Manage vim-plug with nix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed May 4, 2024
1 parent 81e8a30 commit b2762e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/nix/packages/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ wrapped = wrapNeovim neovim-unwrapped {
" different in NixOS and MacOS
" let g:treesitter_path = "${treesitterPath}"
" Load vim-plug
source ${vimPlugins.vim-plug}/plug.vim
" Add nvim-treesitter to runtimepath
set rtp^=${vimPlugins.nvim-treesitter}
" Add grammars to runtimepath
" Add nvim-treesitter grammars to runtimepath
set rtp^=${treesitterPath}
" Load configuration from default location
Expand Down

0 comments on commit b2762e3

Please sign in to comment.