diff --git a/config.lua b/config.lua index cdec082..6b3f257 100644 --- a/config.lua +++ b/config.lua @@ -10,14 +10,20 @@ package.path = package.path .. ';' .. current_dir .. '?.lua' require "init" --- to prevent colision with rusteceanvim: not working +-- to prevent colision with rusteceanvim -- https://github.com/mrcjkb/rustaceanvim/discussions/174#discussioncomment-8193827 vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "rust_analyzer" }) --- https://github.com/mrcjkb/rustaceanvim/discussions/94#discussioncomment-7813716: not working -require("mason-lspconfig").setup_handlers { - ["rust_analyzer"] = function() end, -} +-- In order for the above to work, one must excute `:LvimCacheReset` manually' +-- or uncomment the following +-- vim.schedule(function() +-- vim.cmd('LvimCacheReset') +-- end) + +-- -- https://github.com/mrcjkb/rustaceanvim/discussions/94#discussioncomment-7813716: not working +-- require("mason-lspconfig").setup_handlers { +-- ["rust_analyzer"] = function() end, +-- } lvim.plugins = { -- { @@ -31,6 +37,12 @@ lvim.plugins = { -- vim.cmd('colorscheme base16-railscasts') -- end }, + { + "j-hui/fidget.nvim", + opts = { + -- options + }, + }, { "kentookura/forester.nvim", -- tried removing this for the auto-completion to have a non-nil `forester_current_config` diff --git a/init.lua b/init.lua index dc69775..78748c0 100644 --- a/init.lua +++ b/init.lua @@ -16,6 +16,8 @@ end -- https://github.com/LunarVim/Neovim-from-scratch/blob/master/lua/user/keymaps.lua +local opts = { noremap = true, silent = true } + local keymap = vim.keymap.set -- Modes diff --git a/trees/uts-002F.tree b/trees/uts-002F.tree index 09e9ea4..0f7d770 100644 --- a/trees/uts-002F.tree +++ b/trees/uts-002F.tree @@ -20,6 +20,7 @@ I'm a bit rusty on Vim mode of VS Code, here are some useful keys that I like us - `+e` to toggle file explorer on the left - `+f` to fuzzy find files - `gd`: go to definition + - ctrl+click also works, note that it's not cmd+click on mac - ``: go back, ``: go forward `:jum` to see the jump history - `gf`: go to file