add nvim treesitter
This commit is contained in:
parent
906acb2658
commit
d9f1170230
3 changed files with 25 additions and 8 deletions
|
@ -101,7 +101,7 @@ let g:goyo_linenr = 0
|
|||
lua require'lspconfig'.tsserver.setup{ on_attach=require'completion'.on_attach }
|
||||
lua require'lspconfig'.intelephense.setup{ on_attach=require'completion'.on_attach }
|
||||
lua require'lspconfig'.vuels.setup{ on_attach=require'completion'.on_attach }
|
||||
lua require'lspconfig'.pyls.setup{ on_attach=require'completion'.on_attach }
|
||||
lua require'lspconfig'.pylsp.setup{ on_attach=require'completion'.on_attach }
|
||||
lua require'lspconfig'.texlab.setup{ on_attach=require'completion'.on_attach }
|
||||
lua <<EOF
|
||||
lspconfig = require "lspconfig"
|
||||
|
@ -130,3 +130,16 @@ let g:user_emmet_leader_key='<C-i>'
|
|||
" =========================
|
||||
" autocmd Filetype tex LanguageToolSetUp
|
||||
let g:languagetool_cmd='/usr/bin/languagetool'
|
||||
|
||||
" TREESITTER
|
||||
" lua <<EOF
|
||||
" require'nvim-treesitter.configs'.setup {
|
||||
" ensure_installed = "maintained",
|
||||
" highlight = {
|
||||
" enable = true,
|
||||
" },
|
||||
" indent = {
|
||||
" enable = true
|
||||
" },
|
||||
" }
|
||||
" EOF
|
||||
|
|
|
@ -71,6 +71,10 @@ Plug 'nvim-lua/completion-nvim'
|
|||
" Autoformatter
|
||||
Plug 'sbdchd/neoformat'
|
||||
|
||||
" treesitter
|
||||
" Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
" Plug 'nvim-treesitter/playground'
|
||||
|
||||
" disable latex before loading
|
||||
let g:polyglot_disabled = ["latex"]
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
|
|
Loading…
Add table
Reference in a new issue