Compare commits
No commits in common. "a74219cf8e3919d1db07b528fd5a80ccaaab3ced" and "cdd5461131c26e558f9f21198290eb871d31ca1b" have entirely different histories.
a74219cf8e
...
cdd5461131
|
@ -301,6 +301,12 @@ 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{{{
|
" #vim-floaterm{{{
|
||||||
" https://github.com/voldikss/floaterm
|
" https://github.com/voldikss/floaterm
|
||||||
" allows to open floating terminal
|
" allows to open floating terminal
|
||||||
|
|
|
@ -1,17 +1,13 @@
|
||||||
vim.diagnostic.config({
|
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||||
virtual_text = false,
|
virtual_text = {
|
||||||
signs = true,
|
prefix = '●', -- Could be '■', '▎', 'x'
|
||||||
|
source = 'always',
|
||||||
|
},
|
||||||
|
-- signs = true,
|
||||||
underline = false,
|
underline = false,
|
||||||
update_in_insert = 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 [[
|
vim.cmd [[
|
||||||
sign define LspDiagnosticsSignError text= texthl= linehl= numhl=LspDiagnosticsLineNrError
|
sign define LspDiagnosticsSignError text= texthl= linehl= numhl=LspDiagnosticsLineNrError
|
||||||
sign define LspDiagnosticsSignWarning text= texthl= linehl= numhl=LspDiagnosticsLineNrWarning
|
sign define LspDiagnosticsSignWarning text= texthl= linehl= numhl=LspDiagnosticsLineNrWarning
|
||||||
|
|
Loading…
Reference in New Issue