diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-09 02:49:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-09 02:49:53 +0900 |
| commit | e3c155d74c90f895113ec5460d7f5dbd1ccea031 (patch) | |
| tree | b66280b2216adb6abe4e1bc438dbac6e573f242d | |
| parent | 134c88fc4066d5e42615cd55785e155947a76f23 (diff) | |
| download | dotfiles-e3c155d74c90f895113ec5460d7f5dbd1ccea031.tar.gz dotfiles-e3c155d74c90f895113ec5460d7f5dbd1ccea031.tar.zst dotfiles-e3c155d74c90f895113ec5460d7f5dbd1ccea031.zip | |
nvim/diagnostic: do not show virtual lines other than current line
| -rw-r--r-- | .config/nvim/lua/init/03-autocmds.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/lua/init/03-autocmds.lua b/.config/nvim/lua/init/03-autocmds.lua index a5a8347..e3505cf 100644 --- a/.config/nvim/lua/init/03-autocmds.lua +++ b/.config/nvim/lua/init/03-autocmds.lua @@ -83,5 +83,7 @@ vim.filetype.add({ -- TODO: move this elsewhere vim.diagnostic.config({ virtual_text = true, - virtual_lines = true, + virtual_lines = { + current_line = true, + }, }) |
