From 98bb23bf020f2c7fe97415af41bfe9d5d614dbab Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 5 Jul 2023 15:42:32 +0200 Subject: [PATCH 1/3] disable displayByAle --- home/.config/nvim/coc-settings.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.config/nvim/coc-settings.json b/home/.config/nvim/coc-settings.json index fe45780..52cf59f 100644 --- a/home/.config/nvim/coc-settings.json +++ b/home/.config/nvim/coc-settings.json @@ -1,5 +1,4 @@ { - "rust-analyzer.server.path": "/usr/bin/rust-analyzer", "suggest.acceptSuggestionOnCommitCharacter": true, - "diagnostic.displayByAle": true + "diagnostic.displayByAle": false } From 2f9f0f9ce3d385fc6a8e7d5e197a07fc89fccc52 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 5 Jul 2023 15:46:08 +0200 Subject: [PATCH 2/3] set rust-analyzer path --- home/.config/nvim/coc-settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/.config/nvim/coc-settings.json b/home/.config/nvim/coc-settings.json index 52cf59f..0faf7cd 100644 --- a/home/.config/nvim/coc-settings.json +++ b/home/.config/nvim/coc-settings.json @@ -1,4 +1,5 @@ { + "rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer", "suggest.acceptSuggestionOnCommitCharacter": true, - "diagnostic.displayByAle": false + "diagnostic.displayByAle": true } From 2bfbad0657bb27c505848e30aef7d8f352cf2547 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 5 Jul 2023 15:49:40 +0200 Subject: [PATCH 3/3] finally fix resizing --- home/.config/nvim/common.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.config/nvim/common.vim b/home/.config/nvim/common.vim index 9ea5cd7..9e10e1b 100644 --- a/home/.config/nvim/common.vim +++ b/home/.config/nvim/common.vim @@ -64,8 +64,8 @@ vmap :m -2 vmap :m +1 " resize windows -nnoremap :vertical resize +1 -nnoremap :vertical resize -1 +nnoremap :vertical resize -1 +nnoremap :vertical resize +1 nnoremap :resize -1 nnoremap :resize +1