Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Dec 13, 2023
1 parent 2552145 commit 3f7ef61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
19 changes: 0 additions & 19 deletions lua/modules/lsp/package.lua
Original file line number Diff line number Diff line change
@@ -1,23 +1,4 @@
local function diag_config()
local t = {
'Error',
'Warn',
'Info',
'Hint',
}
-- for _, type in ipairs(t) do
-- local hl = 'DiagnosticSign' .. type
-- vim.fn.sign_define(hl, { text = '◆', texthl = hl, numhl = hl })
-- end

vim.diagnostic.config({
signs = {
text = { [1] = 'e', ['WARN'] = 'w', ['HINT'] = 'h' },
},
severity_sort = true,
virtual_text = true,
})

vim.lsp.set_log_level('OFF')

--disable diagnostic in neovim test file *_spec.lua
Expand Down
4 changes: 2 additions & 2 deletions lua/modules/ui/package.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
local conf = require('modules.ui.config')

packadd({
'nvimdev/paradox.vim',
'nvimdev/nightsky.vim',
config = function()
vim.cmd('colorscheme paradox')
vim.cmd('colorscheme nightsky')
end,
})

Expand Down

0 comments on commit 3f7ef61

Please sign in to comment.