bunch of small tweaks + stylua fmt

This commit is contained in:
2026-08-11 00:30:31 +02:00
parent 88948c0033
commit 86f4bc2856
8 changed files with 306 additions and 269 deletions
+4 -8
View File
@@ -1,7 +1,6 @@
vim.g.base46_cache = vim.fn.stdpath("data") .. "/base46/"
vim.g.mapleader = " "
vim.wo.number = true
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
@@ -10,9 +9,6 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
-- Load lazy.nvim configuration
local lazy_config = require("configs.lazy")
-- Load plugins
require("lazy").setup({
-- NvChad plugins
@@ -27,16 +23,16 @@ require("lazy").setup({
{ import = "plugins" },
})
local cmp = require'cmp'
local cmp = require 'cmp'
-- cmp autocomplete
cmp.setup({
sources = {
{ name = 'nvim_lsp' },
{ name = 'nvim_lsp' },
},
mapping = {
['<Tab>'] = cmp.mapping.select_next_item(),
['<S-Tab>'] = cmp.mapping.select_prev_item(),
['<Tab>'] = cmp.mapping.select_next_item(),
['<S-Tab>'] = cmp.mapping.select_prev_item(),
},
})