diff options
| author | Thomas Schmucker <ts@its1.de> | 2023-04-02 21:02:01 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2023-04-02 21:02:01 +0200 |
| commit | 2d3d838cd3147ec3412e5b01051b5d5cf891ed88 (patch) | |
| tree | ddb5d5c43f7e9fb37822f11f23244c1371eb20e6 /nvim/plugins.vim | |
| parent | b7b34ea4744205815abba828ec6ec1a82cefdcf1 (diff) | |
| download | dotfiles-2d3d838cd3147ec3412e5b01051b5d5cf891ed88.tar.gz dotfiles-2d3d838cd3147ec3412e5b01051b5d5cf891ed88.tar.bz2 dotfiles-2d3d838cd3147ec3412e5b01051b5d5cf891ed88.zip | |
Konfiguration für Treesitter
Diffstat (limited to 'nvim/plugins.vim')
| -rw-r--r-- | nvim/plugins.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nvim/plugins.vim b/nvim/plugins.vim index 4c0d9a0..1386eca 100644 --- a/nvim/plugins.vim +++ b/nvim/plugins.vim | |||
| @@ -16,6 +16,7 @@ call plug#begin() | |||
| 16 | Plug 'simnalamburt/vim-mundo' | 16 | Plug 'simnalamburt/vim-mundo' |
| 17 | Plug 'tpope/vim-repeat' | 17 | Plug 'tpope/vim-repeat' |
| 18 | Plug 'tpope/vim-surround' | 18 | Plug 'tpope/vim-surround' |
| 19 | Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} | ||
| 19 | call plug#end() | 20 | call plug#end() |
| 20 | 21 | ||
| 21 | " EMMET | 22 | " EMMET |
| @@ -48,3 +49,19 @@ let g:mundo_preview_height=30 | |||
| 48 | " Autopairs | 49 | " Autopairs |
| 49 | let b:autopairs_enabled=1 | 50 | let b:autopairs_enabled=1 |
| 50 | 51 | ||
| 52 | " Treesitter | ||
| 53 | lua << EOF | ||
| 54 | require'nvim-treesitter.configs'.setup { | ||
| 55 | ensure_installed = { "c", "lua", "vim", "vimdoc", "typescript" }, | ||
| 56 | sync_install = false, | ||
| 57 | auto_install = false, | ||
| 58 | highlight = { | ||
| 59 | enable = true, | ||
| 60 | disable = { "html" }, | ||
| 61 | additional_vim_regex_highlighting = true, | ||
| 62 | }, | ||
| 63 | indent = { | ||
| 64 | enable = false, | ||
| 65 | }, | ||
| 66 | } | ||
| 67 | EOF | ||
