Compare commits

..

2 Commits

Author SHA1 Message Date
mightypanders
20a47de3e5 reorder cmp sources 2023-05-05 00:00:20 +02:00
mightypanders
306cd7b3e3 add brightest
a package to hightlight the currently selected word in other lines
2023-05-05 00:00:10 +02:00
4 changed files with 11 additions and 1 deletions

View File

@ -18,3 +18,4 @@ require("neotest_config")
require("trouble_config") require("trouble_config")
require("symbols_outline") require("symbols_outline")
require("luasnip_config") require("luasnip_config")
require("brightest_config")

View File

@ -0,0 +1,8 @@
vim.g['brightest#highlight'] = { group = 'BrightestUnderline' }
vim.g['brightest#enable_filetypes'] = {
_ = 1,
vim = 0,
NvimTree = 0,
TelescopePrompt = 0,
Trouble = 0,
}

View File

@ -47,9 +47,9 @@ cmp.setup({
end, { "i", "s" }) end, { "i", "s" })
}, },
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = 'buffer' },
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'nvim_lsp_signature_help' }, { name = 'nvim_lsp_signature_help' },
{ name = 'buffer' },
-- { name = 'path' }, -- { name = 'path' },
}), }),
window = { window = {

View File

@ -107,6 +107,7 @@ require("packer").startup(function(use)
use 'towolf/vim-helm' use 'towolf/vim-helm'
use { 'catppuccin/nvim', as = "catppuccin" } use { 'catppuccin/nvim', as = "catppuccin" }
use 'gpanders/editorconfig.nvim' use 'gpanders/editorconfig.nvim'
use 'osyo-manga/vim-brightest'
use { 'kylechui/nvim-surround', use { 'kylechui/nvim-surround',
tag = "*", tag = "*",
config = function() config = function()