Initial commit

This commit is contained in:
2026-03-25 12:44:19 +01:00
commit cc185a661c
13 changed files with 382 additions and 0 deletions

14
lua/configs/conform.lua Normal file
View File

@@ -0,0 +1,14 @@
local options = {
formatters_by_ft = {
lua = { "stylua" },
css = { "prettier" },
html = { "prettier" },
},
format_on_save = {
timeout_ms = 500,
lsp_fallback = true,
},
}
return options

47
lua/configs/lazy.lua Normal file
View File

@@ -0,0 +1,47 @@
return {
defaults = { lazy = true },
install = { colorscheme = { "nvchad" } },
ui = {
icons = {
ft = "",
lazy = "󰂠 ",
loaded = "",
not_loaded = "",
},
},
performance = {
rtp = {
disabled_plugins = {
"2html_plugin",
"tohtml",
"getscript",
"getscriptPlugin",
"gzip",
"logipat",
"netrw",
"netrwPlugin",
"netrwSettings",
"netrwFileHandlers",
"matchit",
"tar",
"tarPlugin",
"rrhelper",
"spellfile_plugin",
"vimball",
"vimballPlugin",
"zip",
"zipPlugin",
"tutor",
"rplugin",
"syntax",
"synmenu",
"optwin",
"compiler",
"bugreport",
"ftplugin",
},
},
},
}

15
lua/configs/lspconfig.lua Normal file
View File

@@ -0,0 +1,15 @@
require("nvchad.configs.lspconfig").defaults()
local servers = {
"html",
"cssls",
"clangd",
"ts_ls",
"jsonls",
"rust_analyzer",
"eslint",
"svelte",
"tailwindcss",
"texlab",
}
vim.lsp.enable(servers)