dotfiles/nvim/.config/nvim/plugin/vim-polyglot.vim
Marty Oehme a79bef6c4d
nvim: Switch to nvim-lsp
Enabled lsp within nvim and switched completion engine from deoplete to
completion-nvim.

The completion will be somewhat more barebones for some filetypes until
the language servers are set up, but should then (theoretically) carry a
lot more features than before.

Additionally, we can, over time, add additional code inspection
functionality.

One change concerns the calling of bibtex cite key completion in pandoc
files: Where before the completion would automatically begin after
typing an '@', it will now only start on manual completion invocation
(c-p/c-n) -- since the completion from my current bibtex file takes a
while to load.
2020-10-01 19:20:07 +02:00

7 lines
335 B
VimL

" PLUGIN: vim-polyglot
"
" we disable markdown so that every markdown file can be given pandoc type
" let g:polyglot_disabled = ['markdown']
au BufNewFile,BufRead *.{md,mdown,mkd,mkdn,markdown,mdwn} set ft=pandoc
au BufNewFile,BufRead *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} set ft=pandoc