diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-06 02:46:09 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-06 02:46:09 +0900 |
| commit | 115e330ed29fc291a7605e3cdba8c34769ff2e62 (patch) | |
| tree | 82c93166a6513e52b40967d7967ce54ed7b49c92 /.config/nvim/lua/init/03-autocmds.lua | |
| parent | fea57b8e27a438fe8f2341b6cb21b73962b7504a (diff) | |
| download | dotfiles-115e330ed29fc291a7605e3cdba8c34769ff2e62.tar.gz dotfiles-115e330ed29fc291a7605e3cdba8c34769ff2e62.tar.zst dotfiles-115e330ed29fc291a7605e3cdba8c34769ff2e62.zip | |
nvim/lsp: enable diagnostic virtual_text and virtual_lines
Diffstat (limited to '.config/nvim/lua/init/03-autocmds.lua')
| -rw-r--r-- | .config/nvim/lua/init/03-autocmds.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/lua/init/03-autocmds.lua b/.config/nvim/lua/init/03-autocmds.lua index 9272e3b..55b9d5f 100644 --- a/.config/nvim/lua/init/03-autocmds.lua +++ b/.config/nvim/lua/init/03-autocmds.lua @@ -67,7 +67,7 @@ A('BufEnter', { vimrc.register_filetype_autocmds_for_indentation() --- TODO: move it elsewhere +-- TODO: move this elsewhere vim.filetype.add({ extension = { saty = 'satysfi', @@ -78,3 +78,9 @@ vim.filetype.add({ ['.clinerules'] = 'markdown', }, }) + +-- TODO: move this elsewhere +vim.diagnostic.config({ + virtual_text = true, + virtual_lines = true, +}) |
