feat: Move nvchad config to ulic-youthlic/nvchad-starter
Some checks are pending
Test Cachix / tests (Akun) (push) Waiting to run
Test Cachix / tests (Cape) (push) Waiting to run
Test Cachix / tests (Tytonidae) (push) Waiting to run

This commit is contained in:
ulic-youthlic 2025-11-08 01:40:27 +08:00
parent 8de70ee867
commit 9c59296b24
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
12 changed files with 11 additions and 356 deletions

View file

@ -1,18 +0,0 @@
local options = {
formatters_by_ft = {
lua = { "stylua" },
-- css = { "prettier" },
-- html = { "prettier" },
nix = {
"nixfmt",
lsp_format = "fallback",
},
},
format_on_save = {
-- These options will be passed to conform.format()
timeout_ms = 500,
lsp_fallback = true,
},
}
return options

View file

@ -1,8 +0,0 @@
local options = {}
options = {
default_regexp_syntax = true,
use_default_semantic_hl_groups = true
}
return options

View file

@ -1,45 +0,0 @@
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",
},
},
},
}

View file

@ -1,23 +0,0 @@
require("nvchad.configs.lspconfig").defaults()
vim.diagnostic.config({
virtual_lines = {
current_line = true,
source = "if_many"
},
virtual_text = false
})
local servers = {
"nixd",
"nil_ls",
"lua_ls",
"jsonls",
"taplo"
}
vim.lsp.enable(servers, true)
local lua_ls_libraries = vim.deepcopy(vim.lsp.config.lua_ls.settings.Lua.workspace.library)
table.insert(lua_ls_libraries,
#lua_ls_libraries, vim.fn.stdpath "data" .. "/lazy/NvChad/lua/nvchad")
vim.lsp.config.lua_ls.settings.Lua.workspace.library = lua_ls_libraries