mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(vim): rename plugin configuration folder
This commit is contained in:
41
nvim/plugin-config/treesitter.lua
Normal file
41
nvim/plugin-config/treesitter.lua
Normal file
@@ -0,0 +1,41 @@
|
||||
-- nvim-treesitter
|
||||
-- https://github.com/nvim-treesitter/nvim-treesitter
|
||||
|
||||
local status, treesitter = pcall(require, 'nvim-treesitter')
|
||||
if (not status) then return end
|
||||
|
||||
treesitter.setup {
|
||||
ensure_installed = {
|
||||
'bash',
|
||||
'css',
|
||||
'dockerfile',
|
||||
'graphql',
|
||||
'html',
|
||||
'javascript',
|
||||
'jsdoc',
|
||||
'json',
|
||||
'lua',
|
||||
'python',
|
||||
'ruby',
|
||||
'scss',
|
||||
'svelte',
|
||||
'toml',
|
||||
'tsx',
|
||||
'typescript',
|
||||
'vim',
|
||||
'vue',
|
||||
'yaml',
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = {},
|
||||
additional_vim_regex_highlighting = true
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
disable = {},
|
||||
},
|
||||
context_commentstring = {
|
||||
enable = true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user