Minor updates to nvim config

This commit is contained in:
2022-08-25 10:12:33 +02:00
parent 4e52b17959
commit d6beadefaa
4 changed files with 26 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ end
vim.cmd "autocmd BufWritePost plugins.lua PackerCompile" -- Auto compile when there are changes in plugins.lua
return require("packer").startup(
return require("packer").startup({
function(use)
-- Packer can manage itself as an optional plugin
use "wbthomason/packer.nvim"
@@ -125,6 +125,13 @@ return require("packer").startup(
use {'joshdick/onedark.vim'}
use {'gruvbox-community/gruvbox'}
use {'luisiacc/gruvbox-baby'}
end
)
end,
config = {
display = {
open_fn = function()
return require('packer.util').float({ border = 'single' })
end
}
}
})

View File

@@ -16,7 +16,7 @@ require('telescope').setup {
layout_strategy = "horizontal",
layout_defaults = {horizontal = {mirror = false}, vertical = {mirror = false}},
file_sorter = require'telescope.sorters'.get_fuzzy_file,
file_ignore_patterns = {"_build", "node_modules" },
file_ignore_patterns = {"_build", "node_modules", "deps" },
generic_sorter = require'telescope.sorters'.get_generic_fuzzy_sorter,
shorten_path = true,
winblend = 0,