Compare commits
2 Commits
cdd5461131
...
a74219cf8e
Author | SHA1 | Date |
---|---|---|
|
a74219cf8e | |
|
e0496c97f9 |
|
@ -301,12 +301,6 @@ let g:vim_markdown_fenced_languages = ['bash=sh']
|
|||
|
||||
"}}}
|
||||
|
||||
" do i still need, can i replace?
|
||||
" #vim-dispatch{{{
|
||||
" https://github.com/tpope/vim-dispatch
|
||||
Plug 'tpope/vim-dispatch'
|
||||
|
||||
"}}}
|
||||
" #vim-floaterm{{{
|
||||
" https://github.com/voldikss/floaterm
|
||||
" allows to open floating terminal
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||
virtual_text = {
|
||||
prefix = '●', -- Could be '■', '▎', 'x'
|
||||
source = 'always',
|
||||
},
|
||||
-- signs = true,
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
signs = true,
|
||||
underline = false,
|
||||
update_in_insert = false,
|
||||
severity_sort = false,
|
||||
})
|
||||
|
||||
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
|
||||
|
||||
vim.cmd [[
|
||||
sign define LspDiagnosticsSignError text= texthl= linehl= numhl=LspDiagnosticsLineNrError
|
||||
sign define LspDiagnosticsSignWarning text= texthl= linehl= numhl=LspDiagnosticsLineNrWarning
|
||||
|
|
Loading…
Reference in New Issue