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))
|
all: $(OUT_DIR) $(addprefix $(OUT_DIR)/,$(OUT_FILES))
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rv out
|
rm -rv $(OUT_DIR)
|
||||||
|
|
||||||
out:
|
$(OUT_DIR):
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
$(OUT_DIR)/%: %.py _theme.py
|
$(OUT_DIR)/%: %.py _theme.py $(OUT_DIR)
|
||||||
python3 ./$< > $@
|
python3 ./$< > $@
|
||||||
|
|
||||||
$(OUT_DIR)/prismjs-theme.css: prismjs-theme-src.css
|
$(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_global_extensions += ['coc-rust-analyzer']
|
||||||
let g:coc_user_config['rust-analyzer'] = {
|
let g:coc_user_config['rust-analyzer'] = {
|
||||||
\ 'serverPath': 'rust-analyzer',
|
\ 'serverPath': 'rust-analyzer',
|
||||||
|
\ 'lens': {
|
||||||
|
\ 'enable': v:false,
|
||||||
|
\ },
|
||||||
\ 'inlayHints': {
|
\ 'inlayHints': {
|
||||||
|
\ 'typeHints': v:false,
|
||||||
\ 'chainingHints': v:false,
|
\ 'chainingHints': v:false,
|
||||||
\ },
|
\ },
|
||||||
\ 'checkOnSave': {
|
\ 'checkOnSave': {
|
||||||
|
@ -10,7 +14,7 @@ let g:coc_user_config['rust-analyzer'] = {
|
||||||
\ },
|
\ },
|
||||||
\ 'cargo': {
|
\ 'cargo': {
|
||||||
\ 'loadOutDirsFromCheck': v:true,
|
\ 'loadOutDirsFromCheck': v:true,
|
||||||
\ }
|
\ },
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
" let g:coc_global_extensions += ['coc-rls']
|
" let g:coc_global_extensions += ['coc-rls']
|
||||||
|
|
Loading…
Reference in a new issue