diff options
| author | gloomy-lemon-debatable <91877885+gloomy-lemon-debatable@users.noreply.github.com> | 2024-10-30 15:50:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-30 11:50:27 -0400 |
| commit | 468499ca94b40de9d6eb6af61f983e8f18b5b4bf (patch) | |
| tree | a458a16b5b9ff19bcd51102bda509f875cd444c9 /nvim/init.lua | |
| parent | 66435d846588539ec51ca5273c94442d68e74658 (diff) | |
| download | dots-468499ca94b40de9d6eb6af61f983e8f18b5b4bf.tar.gz | |
Change diagnostic symbols if vim.g.have_nerd_font is true (#1195)
* feat: Change diagnostic symbols if vim.g.have_nerd_font is true
* feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so
---------
Co-authored-by: name <email>
Diffstat (limited to 'nvim/init.lua')
| -rw-r--r-- | nvim/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index e588129..b58677d 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -588,6 +588,15 @@ require('lazy').setup({ end, }) + -- Change diagnostic symbols in the sign column (gutter) + -- if vim.g.have_nerd_font then + -- local signs = { Error = '', Warn = '', Hint = '', Info = '' } + -- for type, icon in pairs(signs) do + -- local hl = 'DiagnosticSign' .. type + -- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl }) + -- end + -- end + -- LSP servers and clients are able to communicate to each other what features they support. -- By default, Neovim doesn't support everything that is in the LSP specification. -- When you add nvim-cmp, luasnip, etc. Neovim now has *more* capabilities. |