Skip to content

Commit

Permalink
[ nvim:plugins ] treesitter plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSJ committed Oct 31, 2021
1 parent 7d7d66e commit dbc8efc
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions vim/vim.symlink/plugin/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Plug 'eliba2/vim-node-inspect'
" Added 2021年09月30日
Plug 'honza/vim-snippets'

Plug 'nvim-treesitter/nvim-treesitter', {'branch': '0.5-compat', 'do': ':TSUpdate'} " We recommend updating the parsers on update

" Plugs to install
" General
Expand Down
32 changes: 32 additions & 0 deletions vim/vim.symlink/settings.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
-- TO BE MIGRATED TO SEPARATE FILE
require'nvim-treesitter.configs'.setup {
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
highlight = {
enable = true, -- false will disable the whole extension
disable = { "c", "rust", "go", "c_sharp" }, -- list of language that will be disabled
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
}
vim.g.loaded_gzip = 1
vim.g.loaded_tar = 1
vim.g.loaded_tarPlugin = 1
vim.g.loaded_zip = 1
vim.g.loaded_zipPlugin = 1
vim.g.loaded_getscript = 1
vim.g.loaded_getscriptPlugin = 1
vim.g.loaded_vimball = 1
vim.g.loaded_vimballPlugin = 1
vim.g.loaded_matchit = 1
vim.g.loaded_matchparen = 1
vim.g.loaded_2html_plugin = 1
vim.g.loaded_logiPat = 1
vim.g.loaded_rrhelper = 1
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.loaded_netrwSettings = 1
vim.g.loaded_netrwFileHandlers = 1
-- TO BE MIGRATED TO SEPARATE FILE
Binary file not shown.

0 comments on commit dbc8efc

Please sign in to comment.