This commit is contained in:
Fey Naomi Schrewe 2025-08-29 17:18:31 +02:00
commit a004a76a70
4 changed files with 23 additions and 1 deletions

View File

@ -15,6 +15,9 @@ vim.opt.cursorline = true
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.g.maplocalleader = ','
-- bootstrap lazy
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then

View File

@ -40,6 +40,9 @@ lspconfig.nixd.setup({
})
lspconfig.csharp_ls.setup({
cmd_env = {
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = 1,
},
root_dir = function()
return vim.fs.root(0, ".git")
end,

View File

@ -20,6 +20,8 @@ local function is_work()
return vim.fn.hostname() == "SCHREWE"
end
local is_termux = os.getenv('TERMUX_VERSION') ~= nil
return {
{
"zbirenbaum/copilot.lua",
@ -29,10 +31,13 @@ return {
},
{
"zbirenbaum/copilot-cmp",
enabled = is_work(),
opts = {},
enabled = is_work()
},
{
"yetone/avante.nvim",
enabled = is_work(),
event = "VeryLazy",
lazy = false,
version = false,
@ -42,6 +47,7 @@ return {
auto_suggestions = false, -- Experimental stage
},
},
enabled = is_work(),
dependencies = {
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
@ -198,7 +204,10 @@ return {
"nvim-treesitter/nvim-treesitter",
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "rust", "cpp" },
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "rust", "cpp", "fennel" },
highlight = {
enable = true
}
})
end,
build = function()
@ -223,6 +232,7 @@ return {
{ "<F2>", "<cmd>Neotree<CR>", desc = "View files", mode = { "n", "i", "x" } },
},
lazy = false,
enabled = not is_termux
},
"direnv/direnv.vim",
{

View File

@ -4,6 +4,12 @@ return {
event = "InsertEnter",
opts = {},
},
{
"olical/conjure",
config = function()
-- vim.g["conjure#filetype#fennel"] = "conjure.client.fennel.stdio"
end
},
{
"windwp/nvim-ts-autotag",
opts = {},