fix(nvim/lsp): use correct icons
This commit is contained in:
parent
04fa8c1ab2
commit
18ba939e26
@ -1,4 +1,4 @@
|
||||
{
|
||||
{icons, ...}: {
|
||||
plugins = {
|
||||
lsp-format = {
|
||||
enable = false; # Enable it if you want lsp-format integration for none-ls
|
||||
@ -24,7 +24,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
nil_ls = {enable = true;};
|
||||
nil-ls = {enable = true;};
|
||||
tsserver = {
|
||||
enable = false;
|
||||
filetypes = ["javascript" "javascriptreact" "typescript" "typescriptreact"];
|
||||
@ -156,9 +156,17 @@
|
||||
}
|
||||
)
|
||||
|
||||
vim.diagnostic.config{
|
||||
float={border=_border}
|
||||
};
|
||||
vim.diagnostic.config({
|
||||
float={border=_border},
|
||||
signs = {
|
||||
text = {
|
||||
[vim.diagnostic.severity.ERROR] = "${icons.diagnostics.Error}",
|
||||
[vim.diagnostic.severity.WARN] = "${icons.diagnostics.Warn}",
|
||||
[vim.diagnostic.severity.HINT] = "${icons.diagnostics.Hint}",
|
||||
[vim.diagnostic.severity.INFO] = "${icons.diagnostics.Info}",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
require('lspconfig.ui.windows').default_options = {
|
||||
border = _border
|
||||
|
Loading…
x
Reference in New Issue
Block a user