feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-31 00:28:44 +02:00
parent 7fb4f9ee73
commit 99f7c60db7
No known key found for this signature in database
GPG key ID: 868FFD689D878939
431 changed files with 9853 additions and 23 deletions

View file

@ -0,0 +1,14 @@
local M = {}
local lsp_util = vim.lsp.util
function M.code_action_listener()
local context = { diagnostics = vim.lsp.diagnostic.get_line_diagnostics() }
local params = lsp_util.make_range_params()
params.context = context
vim.lsp.buf_request(0, 'textDocument/codeAction', params, function(err, _, result)
-- do something with result - e.g. check if empty and show some indication such as a sign
end)
end
return M