file-dependent intellisense

This commit is contained in:
Andrzej Stepien 2024-02-29 15:52:01 +01:00
parent 7c18609485
commit 7fd7ff5484
1 changed files with 2 additions and 2 deletions

4
.vimrc
View File

@ -45,7 +45,7 @@ Plug 'vim-scripts/UniCycle'
Plug 'preservim/nerdtree' Plug 'preservim/nerdtree'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'prettier/vim-prettier' Plug 'prettier/vim-prettier'
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release', 'for': ['json','lua','vim','js','html','css']}
call plug#end() call plug#end()
filetype plugin indent on filetype plugin indent on
@ -72,7 +72,7 @@ augroup prose
autocmd! autocmd!
autocmd Filetype markdown,mkd,md call pencil#init() autocmd Filetype markdown,mkd,md call pencil#init()
\ | call lexical#init() \ | call lexical#init()
" \ | call textobj#quote#init() " \ call textobj#quote#init()
\ | call textobj#sentence#init() \ | call textobj#sentence#init()
autocmd vimenter *.md Goyo 66x16 autocmd vimenter *.md Goyo 66x16
augroup END augroup END