1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 19:30:01 +02:00

some nvim touching

This commit is contained in:
Henrik Hautakoski 2024-04-03 21:02:20 +02:00
parent 6dd8f632ad
commit f910f44191
29 changed files with 467 additions and 233 deletions

View file

@ -1,5 +0,0 @@
return {
'windwp/nvim-autopairs',
event = "InsertEnter",
config = true
}

View file

@ -1,29 +0,0 @@
return {
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
opts = {
debounce = 10,
indent = {
char = '',
},
scope = {
enabled = true,
show_start = false,
show_end = false
},
exclude = {
filetypes = {
'help',
'dashboard'
}
}
},
config = function (_, opts)
require 'ibl'.setup(opts)
local hooks = require 'ibl.hooks'
hooks.register(hooks.type.WHITESPACE, hooks.builtin.hide_first_tab_indent_level)
hooks.register(hooks.type.WHITESPACE, hooks.builtin.hide_first_space_indent_level)
end
}

View file

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

View file

@ -24,11 +24,11 @@ return {
results = { 1, 1, 1, 1 },
preview = { 1, 1, 1, 1 },
},
borderchars = {
prompt = { "", "", "", "", "", "", "", "" },
results = { "", "", " ", "", "", "", "", "" },
preview = { "", "", "", " ", "", "", "", "" },
},
-- borderchars = {
-- prompt = { "─", "│", "─", "│", "├", "┤", "┴", "└" },
-- results = { "─", "│", " ", "│", "┌", "┬", "│", "│" },
-- preview = { "─", "│", "─", " ", "─", "┐", "┘", "─" },
-- },
}
opts.defaults = vim.tbl_deep_extend("force", opts.defaults, override)