1
0
Fork 0

nvim: use vim-plugins installed by OS package manager

remove gentoo-syntax, since it is installed globally
This commit is contained in:
tastytea 2022-09-11 00:34:31 +02:00
parent b099ac9114
commit 86a8a74a8f
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 5 additions and 1 deletions

View File

@ -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')

View File

@ -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' }