16 lines
433 B
Lua
16 lines
433 B
Lua
-- require 'lspconfig'.grammarly.setup {
|
|
-- filetypes = { "markdown", "tex", "go" },
|
|
-- }
|
|
local sign = function(opts)
|
|
vim.fn.sign_define(opts.name, {
|
|
texthl = opts.name,
|
|
text = opts.text,
|
|
numhl = ''
|
|
})
|
|
end
|
|
|
|
sign({ name = 'DiagnosticSignError', text = '✘' })
|
|
sign({ name = 'DiagnosticSignWarn', text = '▲' })
|
|
sign({ name = 'DiagnosticSignHint', text = '⚑' })
|
|
sign({ name = 'DiagnosticSignInfo', text = '»' })
|