diff --git a/vim/.vim/lua/catppuccin-config.lua b/vim/.vim/lua/catppuccin-config.lua index 19c4aae..f494080 100644 --- a/vim/.vim/lua/catppuccin-config.lua +++ b/vim/.vim/lua/catppuccin-config.lua @@ -88,10 +88,8 @@ require("catppuccin").setup({ }, color_overrides = {}, custom_highlights = { - -- Type = { fg = colors.blue }, - -- Function = { fg = colors.sapphire }, - -- Identifier = { fg = colors.mauve }, - -- -- + Identifier = { fg = colors.lavender }, + -- Identifier = { fg = colors.sapphire }, Function = { fg = colors.mauve }, }, }) diff --git a/vim/.vim/lua/code_action_utils.lua b/vim/.vim/lua/code_action_utils.lua index 1d24ff5..3b04ceb 100644 --- a/vim/.vim/lua/code_action_utils.lua +++ b/vim/.vim/lua/code_action_utils.lua @@ -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 diff --git a/vim/.vim/lua/lsp.lua b/vim/.vim/lua/lsp.lua index a47911a..8a5f6d4 100644 --- a/vim/.vim/lua/lsp.lua +++ b/vim/.vim/lua/lsp.lua @@ -165,7 +165,9 @@ cider_lsp_handlers["$/syncResponse"] = function(_, result, ctx) end cider_lsp_handlers["workspace/diagnostic/refresh"] = function(_, result, ctx) - VPrint('result:') + notify('result:'..result, 'info', {timeout=900}) + notify('ctx:'..ctx, 'info', {timeout=900}) + VPrint(result) VPrint('ctx:') VPrint(ctx) diff --git a/vim/.vim/prefs/vimimp.vim b/vim/.vim/prefs/vimimp.vim deleted file mode 100644 index d23b464..0000000 --- a/vim/.vim/prefs/vimimp.vim +++ /dev/null @@ -1,10 +0,0 @@ -" silent call system('gcertstatus') -" if !v:shell_error -" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/vim-imp -" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/imp-csearch -" endif -" -" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/vim-imp -" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/imp-csearch - -" Glaive imp Suggest[default]=ripgrep,csearch,prompt Report[default]=popupnotify Location[default]=packageroot