This commit is contained in:
ksyasuda 2022-02-08 15:24:33 -08:00
parent 81a8406d29
commit b20371a2f5
2 changed files with 30 additions and 2 deletions

View File

@ -79,12 +79,13 @@ Plug 'osyo-manga/vim-over'
if has('nvim') if has('nvim')
Plug 'akinsho/bufferline.nvim' Plug 'akinsho/bufferline.nvim'
Plug 'chentau/marks.nvim' " Plug 'chentau/marks.nvim'
Plug 'folke/which-key.nvim' Plug 'folke/which-key.nvim'
Plug 'github/copilot.vim' Plug 'github/copilot.vim'
Plug 'glepnir/dashboard-nvim' Plug 'glepnir/dashboard-nvim'
Plug 'kyazdani42/nvim-web-devicons' Plug 'kyazdani42/nvim-web-devicons'
Plug 'kyazdani42/nvim-tree.lua' Plug 'kyazdani42/nvim-tree.lua'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'NTBBloodbath/doom-one.nvim' Plug 'NTBBloodbath/doom-one.nvim'
Plug 'Mofiqul/dracula.nvim' Plug 'Mofiqul/dracula.nvim'
@ -106,10 +107,13 @@ call plug#end()
if has('nvim') if has('nvim')
source ~/.config/nvim/plugins/bufferline.lua source ~/.config/nvim/plugins/bufferline.lua
source ~/.config/nvim/plugins/marks.lua " source ~/.config/nvim/plugins/marks.lua
source ~/.config/nvim/plugins/whichkey.lua source ~/.config/nvim/plugins/whichkey.lua
source ~/.config/nvim/plugins/dashboard-nvim.lua source ~/.config/nvim/plugins/dashboard-nvim.lua
source ~/.config/nvim/plugins/nvimtree.lua source ~/.config/nvim/plugins/nvimtree.lua
source ~/.config/nvim/plugins/treesitter.lua
source ~/.config/nvim/plugins/doomone.lua source ~/.config/nvim/plugins/doomone.lua
" source ~/.config/nvim/plugins/dracula.lua " source ~/.config/nvim/plugins/dracula.lua
" source ~/.config/nvim/plugins/github-theme.lua " source ~/.config/nvim/plugins/github-theme.lua

View File

@ -0,0 +1,24 @@
require'nvim-treesitter.configs'.setup {
-- One of "all", "maintained" (parsers with maintainers), or a list of languages
ensure_installed = "maintained",
-- Install languages synchronously (only applied to `ensure_installed`)
sync_install = false,
-- List of parsers to ignore installing
-- ignore_install = { "javascript" },
highlight = {
-- `false` will disable the whole extension
enable = true,
-- list of language that will be disabled
-- disable = { "c", "rust" },
-- 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,
},
}