vim updates

This commit is contained in:
Henrik Bakken
2023-11-08 10:24:50 +01:00
parent bcfd338ed4
commit 19f81d4aae
+1 -21
View File
@@ -159,23 +159,6 @@ require("lazy").setup({
map("", "g*", "<Plug>(asterisk-gz*)", {}) map("", "g*", "<Plug>(asterisk-gz*)", {})
end, end,
}, },
{
-- better search
"kevinhwang91/nvim-hlslens",
dependencies = {
"nvim-lua/plenary.nvim",
"haya14busa/vim-asterisk",
},
config = function()
require("hlslens").setup()
local map = vim.keymap.set
local opts = { noremap = true, silent = true }
map({}, "*", "[[<Plug>(asterisk-z*)<Cmd>lua require('hlslens').start()<CR>]]", opts)
map({}, "g*", "[[<Plug>(asterisk-gz*)<Cmd>lua require('hlslens').start()<CR>]]", opts)
map({}, "n", [[<Cmd>execute('normal! ' . v:count1 . 'n')<CR><Cmd>lua require('hlslens').start()<CR>]], opts)
map({}, "N", [[<Cmd>execute('normal! ' . v:count1 . 'N')<CR><Cmd>lua require('hlslens').start()<CR>]], opts)
end,
},
{ {
-- folder tree -- folder tree
"nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",
@@ -203,8 +186,6 @@ require("lazy").setup({
end, end,
}, -- theme dark only }, -- theme dark only
"tomasr/molokai", "tomasr/molokai",
"kdheepak/monochrome.nvim",
"kcsongor/vim-monochrome-light",
"jnurmine/Zenburn", "jnurmine/Zenburn",
{ {
-- coloring of colornames -- coloring of colornames
@@ -256,7 +237,6 @@ require("lazy").setup({
}) })
end, end,
}, },
"Joorem/vim-haproxy",
{ {
"akinsho/nvim-bufferline.lua", "akinsho/nvim-bufferline.lua",
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },
@@ -802,7 +782,7 @@ require("lazy").setup({
lsp_doc_border = false, -- add a border to hover docs and signature help lsp_doc_border = false, -- add a border to hover docs and signature help
}, },
messages = { messages = {
enabled = false, enabled = true,
}, },
}) })
end, end,