catppuccin

This commit is contained in:
Christian Nieves
2022-10-19 06:05:55 +00:00
parent 99215a3333
commit d70d4a71ad
4 changed files with 7 additions and 16 deletions

View File

@ -1,4 +1,5 @@
local M = {}
local notify = require 'notify'
local lsp_util = vim.lsp.util
@ -7,7 +8,7 @@ function M.code_action_listener()
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
notify('codeAction '..result, 'info', {timeout=500})
end)
end