[nvim] disable the annoying virtual text features of the rust plugin

This commit is contained in:
Dmytro Meleshko 2020-12-02 02:05:02 +02:00
parent d8cc8d3feb
commit 57783871c1
2 changed files with 8 additions and 4 deletions

View file

@ -14,12 +14,12 @@ OUT_FILES := iterm.itermcolors kitty.conf vim.vim setvtrgb.txt zsh.zsh termux.pr
all: $(OUT_DIR) $(addprefix $(OUT_DIR)/,$(OUT_FILES))
clean:
rm -rv out
rm -rv $(OUT_DIR)
out:
$(OUT_DIR):
mkdir -p $@
$(OUT_DIR)/%: %.py _theme.py
$(OUT_DIR)/%: %.py _theme.py $(OUT_DIR)
python3 ./$< > $@
$(OUT_DIR)/prismjs-theme.css: prismjs-theme-src.css

View file

@ -2,7 +2,11 @@ let g:coc_filetypes += ['rust']
let g:coc_global_extensions += ['coc-rust-analyzer']
let g:coc_user_config['rust-analyzer'] = {
\ 'serverPath': 'rust-analyzer',
\ 'lens': {
\ 'enable': v:false,
\ },
\ 'inlayHints': {
\ 'typeHints': v:false,
\ 'chainingHints': v:false,
\ },
\ 'checkOnSave': {
@ -10,7 +14,7 @@ let g:coc_user_config['rust-analyzer'] = {
\ },
\ 'cargo': {
\ 'loadOutDirsFromCheck': v:true,
\ }
\ },
\ }
" let g:coc_global_extensions += ['coc-rls']