nvim: add gentoo syntax
This commit is contained in:
parent
58ee0ade7f
commit
2c8986901f
|
@ -26,3 +26,12 @@ vim.api.nvim_create_autocmd('FileType', {
|
|||
vim.cmd([[startinsert | 1]])
|
||||
end
|
||||
})
|
||||
|
||||
packer.use {
|
||||
'https://github.com/gentoo/gentoo-syntax',
|
||||
requires = { 'https://github.com/vim-syntastic/syntastic' },
|
||||
config = function()
|
||||
-- vim.g.syntastic_ebuild_checkers = { 'pkgcheck' }
|
||||
vim.g.syntastic_sh_checkers = { 'sh', 'checkbashisms' }
|
||||
end
|
||||
}
|
||||
|
|
|
@ -17,6 +17,20 @@ packer.use {
|
|||
require('nvim-treesitter.install').update({ with_sync = true })
|
||||
end
|
||||
}
|
||||
packer.use {
|
||||
'https://github.com/vim-syntastic/syntastic',
|
||||
config = function()
|
||||
local sl = vim.o.statusline
|
||||
sl = sl .. '%#warningmsg#'
|
||||
sl = sl .. '%{SyntasticStatuslineFlag()}'
|
||||
sl = sl .. '%*'
|
||||
|
||||
vim.g.syntastic_always_populate_loc_list = 1
|
||||
vim.g.syntastic_auto_loc_list = 1
|
||||
vim.g.syntastic_check_on_open = 1
|
||||
vim.g.syntastic_check_on_wq = 0
|
||||
end
|
||||
}
|
||||
|
||||
-- compile and install new plugins when lua files in this dir are written
|
||||
vim.cmd([[
|
||||
|
|
Loading…
Reference in New Issue
Block a user