add devops and development profile
This commit is contained in:
1 parent
a0d2bcdfb0
commit
ab80f0d763
9 files changed
+128
-140
No files matched your search
+21
-24
@@ -4,31 +4,28 @@
|
||||
-- ============================================================
|
||||
do
|
||||
vim.pack.add { { src = gh 'romus204/tree-sitter-manager.nvim' } }
|
||||
|
||||
-- Parsers are grouped by profile; see the switches in init.lua
|
||||
local parsers = {
|
||||
'bash',
|
||||
'dockerfile',
|
||||
'gitignore',
|
||||
'json',
|
||||
'lua',
|
||||
'markdown',
|
||||
'markdown_inline',
|
||||
'query',
|
||||
'vim',
|
||||
'vimdoc',
|
||||
'yaml',
|
||||
}
|
||||
|
||||
if vim.g.load_devops then vim.list_extend(parsers, { 'hcl', 'nix' }) end
|
||||
|
||||
if vim.g.load_development then vim.list_extend(parsers, { 'c', 'css', 'go', 'html', 'java', 'javascript', 'kotlin', 'latex', 'python', 'sql', 'typst' }) end
|
||||
|
||||
safe_require('tree-sitter-manager', {
|
||||
ensure_installed = {
|
||||
'bash',
|
||||
'c',
|
||||
'css',
|
||||
'dockerfile',
|
||||
'gitignore',
|
||||
'go',
|
||||
'html',
|
||||
'java',
|
||||
'javascript',
|
||||
'json',
|
||||
'kotlin',
|
||||
'latex',
|
||||
'lua',
|
||||
'markdown',
|
||||
'markdown_inline',
|
||||
'python',
|
||||
'query',
|
||||
'sql',
|
||||
'typst',
|
||||
'yaml',
|
||||
'vim',
|
||||
'vimdoc',
|
||||
},
|
||||
ensure_installed = parsers,
|
||||
sync_install = false,
|
||||
auto_install = true,
|
||||
|
||||
|
||||
Reference in new issue
Block a user