1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

big nvim update. maybe broke something

This commit is contained in:
Henrik Hautakoski 2024-03-10 10:36:20 +01:00
parent 1e68462bc1
commit 8a39a1b88a
32 changed files with 531 additions and 195 deletions

View file

@ -0,0 +1,5 @@
return {
'windwp/nvim-autopairs',
event = "InsertEnter",
opts = {} -- this is equalent to setup({}) function
}

View file

@ -0,0 +1,17 @@
return{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
opts = {
scope = {
enabled = true,
show_start = false,
show_end = false
},
exclude = {
filetypes = {
'help',
'dashboard'
}
}
}
}

View file

@ -0,0 +1,9 @@
return {
'echasnovski/mini.comment',
version = '*',
opts = {
options = {
custom_commentstring = function() return vim.bo.commentstring end
}
}
}

View file

@ -0,0 +1,57 @@
local icons = require('config.icons')
return {
'nvim-telescope/telescope.nvim',
tag = '0.1.4',
main = 'telescope',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons',
{
"folke/which-key.nvim",
-- optional = true,
opts = {
defaults = {
["<leader>s"] = { name = "+search" },
},
},
},
},
keys = require('config.telescope'),
opts = function()
local actions = require("telescope.actions")
return {
defaults = {
path_display = { truncate = 1 },
-- borderchars = { "─", "│", "─", "│", "┌", "┐", "┘", "└" },
border = {
prompt = { 1, 1, 1, 1 },
results = { 1, 1, 1, 1 },
preview = { 1, 1, 1, 1 },
},
borderchars = {
prompt = { "", "", "", "", "", "", "", "" },
results = { "", "", " ", "", "", "", "", "" },
preview = { "", "", "", " ", "", "", "", "" },
},
prompt_prefix = ' ' .. icons.prompt .. ' ',
selection_caret = icons.current .. ' ',
multi_icon = icons.selected .. ' ',
file_ignore_patterns = {
".git/",
"node_modules/"
},
mappings = {
i = {
["<esc>"] = actions.close
}
}
},
pickers = {
find_files = {
hidden = true
}
}
}
end,
}