diff --git a/lazy-lock.json b/lazy-lock.json index 038e615..84bbd65 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -13,14 +13,13 @@ "lsp": { "branch": "master", "commit": "6b43ce561d97412cc512b569db6938e44529293e" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "aa25b4153d2f2636c3b3a8c8360349d2b29e7ae3" }, "mason.nvim": { "branch": "main", "commit": "8fd6559eecbabb39c68d147f1b2cccb8d2d2d2a1" }, - "null-ls.nvim": { "branch": "main", "commit": "647a1eeeefc43ce15d941972642210637c370471" }, + "null-ls.nvim": { "branch": "main", "commit": "d09d7d82cc26d63673cef85cb62895dd68aab6d8" }, "nvim-autopairs": { "branch": "master", "commit": "03580d758231956d33c8dd91e2be195106a79fa4" }, "nvim-cmp": { "branch": "main", "commit": "c49ad26e894e137e401b1d294948c46327877eaf" }, - "nvim-colorizer.lua": { "branch": "master", "commit": "760e27df4dd966607e8fb7fd8b6b93e3c7d2e193" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" }, "nvim-snippy": { "branch": "master", "commit": "834820d5441e9c26de4bea4de95de5e117c058a5" }, "nvim-treesitter": { "branch": "master", "commit": "3a621b9a8362fac358d828254485024986d6d81b" }, "plenary.nvim": { "branch": "master", "commit": "4b7e52044bbb84242158d977a50c4cbcd85070c7" }, - "telescope-file-browser.nvim": { "branch": "master", "commit": "304508fb7bea78e3c0eeddd88c4837501e403ae8" }, "telescope.nvim": { "branch": "master", "commit": "a606bd10c79ec5989c76c49cc6f736e88b63f0da" }, "toggleterm.nvim": { "branch": "main", "commit": "b02a1674bd0010d7982b056fd3df4f717ff8a57a" }, "tokyonight.nvim": { "branch": "main", "commit": "42cccfe663f36b91792a350164f0695b44a031d9" }, diff --git a/lua/config/mappings.lua b/lua/config/mappings.lua index 1e0de74..31cc1ff 100644 --- a/lua/config/mappings.lua +++ b/lua/config/mappings.lua @@ -38,7 +38,7 @@ vim.api.nvim_set_keymap('n', '', 'z=1', { noremap = true, silent = -- vim.api.nvim_set_keymap("n", "", "", { noremap = true, silent = true }) vim.api.nvim_set_keymap('n', '', ':', { noremap = true }) --- vim.api.nvim_set_keymap('n', ';', ':', { noremap = true }) +vim.api.nvim_set_keymap('n', ';', ':', { noremap = true }) vim.api.nvim_set_keymap('n', 'rs', ':s///gI', { noremap = true }) vim.api.nvim_set_keymap('n', 'rr', ':%s///gI', { noremap = true }) vim.api.nvim_set_keymap('v', 'r', ':s///gI', { noremap = true }) diff --git a/lua/config/settings.lua b/lua/config/settings.lua index 8e2f881..cdb3e06 100644 --- a/lua/config/settings.lua +++ b/lua/config/settings.lua @@ -1,10 +1,10 @@ local g = vim.g local opt = vim.opt local function add(value, str, sep) - sep = sep or ',' - str = str or '' - value = type(value) == 'table' and table.concat(value, sep) or value - return str ~= '' and table.concat({ value, str }, sep) or value + sep = sep or ',' + str = str or '' + value = type(value) == 'table' and table.concat(value, sep) or value + return str ~= '' and table.concat({ value, str }, sep) or value end -- local disabled_built_ins = { -- -- 'netrw', @@ -62,7 +62,7 @@ opt.foldmethod = 'marker' opt.foldlevel = 0 opt.number = true opt.hidden = true ---opt.shortmess+ = c " Don't pass messages to ins-completion-menu. +opt.shortmess = add { 'I' } -- Don't pass messages to ins-completion-menu. opt.scrolloff = 15 opt.iskeyword:prepend { '-' } opt.inccommand = 'nosplit' @@ -86,4 +86,3 @@ vim.api.nvim_create_autocmd({ 'BufReadPost' }, { pattern = { '*' }, command = 's vim.api.nvim_create_autocmd({ 'BufWinLeave' }, { pattern = { '?*' }, command = 'mkview' }) vim.api.nvim_create_autocmd({ 'BufReadPost' }, { pattern = { '?*' }, command = 'silent! loadview' }) -- }}} -