diff --git a/nvim/m-housh/lazy-lock.json b/nvim/m-housh/lazy-lock.json index 6679cc6..aaca2db 100644 --- a/nvim/m-housh/lazy-lock.json +++ b/nvim/m-housh/lazy-lock.json @@ -18,10 +18,12 @@ "neo-tree.nvim": { "branch": "v3.x", "commit": "71f1841ba6c652908678cece623f52c1fea8a6cd" }, "neodev.nvim": { "branch": "main", "commit": "58b1c0740e8ad79ce71e2649a449bb90536435cf" }, "nightfox.nvim": { "branch": "main", "commit": "fe2fc7b93d66349eff2c5baa6cec922ee3958f56" }, + "noice.nvim": { "branch": "main", "commit": "396f9146529130904e07c45e90ecdbfa607534f3" }, "nui.nvim": { "branch": "main", "commit": "c8de23342caf8d50b15d6b28368d36a56a69d76f" }, "nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" }, "nvim-lsp-installer": { "branch": "main", "commit": "17e0bfa5f2c8854d1636fcd036dc8284db136baa" }, "nvim-lspconfig": { "branch": "master", "commit": "576c8a5987bb276d234dd1d04e6c9fe60da1185d" }, + "nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" }, "nvim-treesitter": { "branch": "master", "commit": "16ea2969ea0a5ba902fceece9b2db10c7c9ba2d6" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "bd103502252027434ec42f628d2dbf54821d4ce6" }, "nvim-web-devicons": { "branch": "master", "commit": "45d0237c427baba8cd05e0ab26d30e2ee58c2c82" }, diff --git a/nvim/m-housh/lua/user/plugin/lsp.lua b/nvim/m-housh/lua/user/plugin/lsp.lua index 2446e78..3a94735 100644 --- a/nvim/m-housh/lua/user/plugin/lsp.lua +++ b/nvim/m-housh/lua/user/plugin/lsp.lua @@ -2,7 +2,7 @@ return { { "williamboman/nvim-lsp-installer", config = function() - require("nvim-lsp-installer").setup() + require("nvim-lsp-installer").setup({}) end }, { diff --git a/nvim/m-housh/lua/user/plugin/noice.lua b/nvim/m-housh/lua/user/plugin/noice.lua new file mode 100644 index 0000000..7a1a179 --- /dev/null +++ b/nvim/m-housh/lua/user/plugin/noice.lua @@ -0,0 +1,31 @@ +return { + "folke/noice.nvim", + event = "VeryLazy", + opts = { + lsp = { + -- override markdown rendering so that **cmp** and other plugins use **Treesitter** + override = { + ["vim.lsp.util.convert_input_to_markdown_lines"] = true, + ["vim.lsp.util.stylize_markdown"] = true, + ["cmp.entry.get_documentation"] = true, + }, + -- you can enable a preset for easier configuration + presets = { + bottom_search = true, -- use a classic bottom cmdline for search + command_palette = true, -- position the cmdline and popupmenu together + long_message_to_split = true, -- long messages will be sent to a split + inc_rename = false, -- enables an input dialog for inc-rename.nvim + lsp_doc_border = false, -- add a border to hover docs and signature help + }, + signature = { enabled = false }, + }, + }, + dependencies = { + -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries + "MunifTanjim/nui.nvim", + -- OPTIONAL: + -- `nvim-notify` is only needed, if you want to use the notification view. + -- If not available, we use `mini` as the fallback + "rcarriga/nvim-notify", + } +} diff --git a/nvim/m-housh/lua/user/plugins.lua b/nvim/m-housh/lua/user/plugins.lua index 7939f13..bcb6c27 100644 --- a/nvim/m-housh/lua/user/plugins.lua +++ b/nvim/m-housh/lua/user/plugins.lua @@ -39,6 +39,7 @@ require("lazy").setup({ { import = 'user.plugin.telescope' }, -- Utilities -- + { import = 'user.plugin.noice' }, { import = 'user.plugin.swift' }, { import = 'user.plugin.toggleterm' }, { import = 'user.plugin.which-key' }, diff --git a/nvim/m-housh/lua/user/settings.lua b/nvim/m-housh/lua/user/settings.lua index 5b05999..1ef9a3d 100644 --- a/nvim/m-housh/lua/user/settings.lua +++ b/nvim/m-housh/lua/user/settings.lua @@ -45,7 +45,7 @@ o.listchars = "eol:¬,tab:>·,trail:~,extends:>,precedes:<,space:␣" o.shortmess = o.shortmess + "c" -- prevent "pattern not found" messages wo.colorcolumn = "99999" o.wildmode = "full" -o.lazyredraw = true -- do not redraw screen while running macros +o.lazyredraw = false -- do not redraw screen while running macros o.grepprg = "rg --hidden --vimgrep --smart-case --" o.completeopt = {"menu", "menuone", "noselect", "noinsert"} -- A comma separated list of options for Insert mode completion o.wildignorecase = true -- When set case is ignored when completing file names and directories diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index a3e7c64..e3e6e23 100644 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -179,7 +179,6 @@ prompt pure #------------------------------ aliases ------------------------------ alias bk='cd "${OLDPWD}"' -#alias cdots='cd "${DOTFILES}"' alias cl='printf "\e[H\e[2J"' alias clear='printf "\e[H\e[2J"' alias czets='cd "${ZETDIR}"'