Compare commits

...

3 Commits

Author SHA1 Message Date
don philipe
af50ddd8ea Add rounded borders for completion plugin 2025-04-23 22:04:41 +02:00
don philipe
7128760315 Add rounded borders for lazy plugin manager 2025-04-23 22:03:35 +02:00
don philipe
f078314b0d Custom nvim indents for various filetypes 2025-04-23 22:02:28 +02:00
4 changed files with 36 additions and 0 deletions

View File

@@ -24,4 +24,9 @@ cmp.setup({
vim.snippet.expand(args.body)
end,
},
-- switch on rounded borders in floating completion windows
window = {
completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered(),
},
})

View File

@@ -0,0 +1,23 @@
vim.api.nvim_create_autocmd('Filetype', {
pattern = {
'xml',
'html',
'xhtml',
'css',
'scss',
'javascript',
'typescript',
'lua',
'jsx',
'tsx',
'typescriptreact',
'javascriptreact',
'htmldjango'
},
command = 'setlocal shiftwidth=4 tabstop=4 expandtab'
})
vim.api.nvim_create_autocmd('Filetype', {
pattern = { 'yaml',
},
command = 'setlocal shiftwidth=2 tabstop=2 expandtab'
})

View File

@@ -33,6 +33,9 @@ require("lazy").setup({
install = { colorscheme = { "habamax" } },
-- automatically check for plugin updates
checker = { enabled = true },
ui = {
border = "rounded",
},
})
-- Open lazy menu with :Lazy check

View File

@@ -34,4 +34,9 @@ require'nvim-treesitter.configs'.setup {
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
-- indent with treesitter is currently experimental, just mark text and hit "="
indent = {
enable = true,
},
}