diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 007a55e..ae77d66 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -7,6 +7,11 @@ if vim.fn.has(version_required) == 0 then return nil end +-- use the vim plugins installed via the OS package manager +if vim.fn.isdirectory('/usr/share/vim/vimfiles') == 1 then + vim.opt.runtimepath:append('/usr/share/vim/vimfiles') +end + require('my/plugins') require('my.functions') require('my/settings') diff --git a/.config/nvim/lua/my/plugins.lua b/.config/nvim/lua/my/plugins.lua index 842f2ae..e0706f2 100644 --- a/.config/nvim/lua/my/plugins.lua +++ b/.config/nvim/lua/my/plugins.lua @@ -34,7 +34,6 @@ require('packer').startup({ function(use) 'https://github.com/JoosepAlviste/nvim-ts-context-commentstring', requires = 'https://github.com/nvim-treesitter/nvim-treesitter' } - use { 'https://github.com/gentoo/gentoo-syntax' } use { 'https://github.com/folke/todo-comments.nvim', requires = { 'https://github.com/nvim-lua/plenary.nvim' }