nvim: limit plugins to relevant file types

This commit is contained in:
Alexander Bocken 2023-10-31 21:43:31 +01:00
parent 0f12ba81ba
commit 69d50cf8f8
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,5 @@
{
"suggest.enablePreselect": false,
"suggest.noselect": true
"suggest.noselect": true,
"svelte.enable-ts-plugin": true
}

View File

@ -18,12 +18,11 @@ Plug 'vim-airline/vim-airline'
Plug 'tpope/vim-commentary'
Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'}
Plug 'ap/vim-css-color'
Plug 'lervag/vimtex'
Plug 'lervag/vimtex', { 'for': ['tex'] }
Plug 'arcticicestudio/nord-vim'
Plug 'rhysd/vim-grammarous'
Plug 'jalvesaq/Nvim-R', {'branch': 'stable'}
Plug 'luk400/vim-jukit'
Plug 'yaegassy/coc-astro', {'do': 'yarn install --frozen-lockfile'}
Plug 'jalvesaq/Nvim-R', {'branch': 'stable', 'for': ['r', 'R', 'Rmd', 'rmd']}
Plug 'luk400/vim-jukit', {'for': ['ipynb', 'py']}
call plug#end()
set title
@ -449,7 +448,7 @@ let g:coc#disable_startup_autoselect = 1
function! EnterSelect()
" if the popup is visible and an option is not selected
if pumvisible() && complete_info()["selected"] == -1
return "\<C-y>\<CR>"
return "\<C-y>\<Enter>"
" if the pum is visible and an option is selected
elseif pumvisible()