mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] disable the annoying virtual text features of the rust plugin
This commit is contained in:
parent
d8cc8d3feb
commit
57783871c1
2 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue