nvim: use vim-plugins installed by OS package manager
remove gentoo-syntax, since it is installed globally
This commit is contained in:
parent
b099ac9114
commit
86a8a74a8f
|
@ -7,6 +7,11 @@ if vim.fn.has(version_required) == 0 then
|
||||||
return nil
|
return nil
|
||||||
end
|
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/plugins')
|
||||||
require('my.functions')
|
require('my.functions')
|
||||||
require('my/settings')
|
require('my/settings')
|
||||||
|
|
|
@ -34,7 +34,6 @@ require('packer').startup({ function(use)
|
||||||
'https://github.com/JoosepAlviste/nvim-ts-context-commentstring',
|
'https://github.com/JoosepAlviste/nvim-ts-context-commentstring',
|
||||||
requires = 'https://github.com/nvim-treesitter/nvim-treesitter'
|
requires = 'https://github.com/nvim-treesitter/nvim-treesitter'
|
||||||
}
|
}
|
||||||
use { 'https://github.com/gentoo/gentoo-syntax' }
|
|
||||||
use {
|
use {
|
||||||
'https://github.com/folke/todo-comments.nvim',
|
'https://github.com/folke/todo-comments.nvim',
|
||||||
requires = { 'https://github.com/nvim-lua/plenary.nvim' }
|
requires = { 'https://github.com/nvim-lua/plenary.nvim' }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user