remove nvim-tree, clean useless autocmds

This commit is contained in:
Zacharias-Brohn
2025-08-27 22:59:36 +02:00
parent 6b1f619fed
commit f3c9154822
9 changed files with 71 additions and 177 deletions
+34 -35
View File
@@ -1,6 +1,5 @@
require("CopilotChat").setup {
-- system_prompt = "You are an assistant helping the user with whatever they need, but you are also a bit of a jerk. Do not use profanity.",
model = "gpt-oss:20b",
prompts = {
CivitAI = {
system_prompt = "You are an assistant helping with stable diffusion models and python to implement failsafes for a server regarding image generation.",
@@ -16,38 +15,38 @@ require("CopilotChat").setup {
tool = '󰖷 Tool: ',
},
providers = {
ollama = {
embed = 'copilot_embeddings', -- Use Copilot as embedding provider
-- Copy copilot input and output processing
prepare_input = require('CopilotChat.config.providers').copilot.prepare_input,
prepare_output = require('CopilotChat.config.providers').copilot.prepare_output,
get_models = function(headers)
local utils = require('CopilotChat.utils')
local response, err = utils.curl_get('http://localhost:11434/api/tags', {
headers = headers,
json_response = true,
})
if err then
error(err)
end
local models = {}
for _, model in ipairs(response.body.models) do
table.insert(models, {
id = model.name,
name = model.name
})
end
return models
end,
get_url = function()
return 'http://localhost:11434/api/chat'
end,
}
}
-- providers = {
-- ollama = {
-- embed = 'copilot_embeddings', -- Use Copilot as embedding provider
--
-- -- Copy copilot input and output processing
-- prepare_input = require('CopilotChat.config.providers').copilot.prepare_input,
-- prepare_output = require('CopilotChat.config.providers').copilot.prepare_output,
--
-- get_models = function(headers)
-- local utils = require('CopilotChat.utils')
-- local response, err = utils.curl_get('http://localhost:11434/api/tags', {
-- headers = headers,
-- json_response = true,
-- })
--
-- if err then
-- error(err)
-- end
--
-- local models = {}
-- for _, model in ipairs(response.body.models) do
-- table.insert(models, {
-- id = model.name,
-- name = model.name
-- })
-- end
-- return models
-- end,
--
-- get_url = function()
-- return 'http://localhost:11434/api/chat'
-- end,
-- }
-- }
}
+9
View File
@@ -0,0 +1,9 @@
require("lazydev").setup({
library = {
{ path = "${3rd}/luv/library", words = { "vim%.uv" }},
"LazyVim",
},
enabled = function(root_dir)
return vim.g.lazydev_enabled == nil and true or vim.g.lazydev_enabled
end,
})
+2 -10
View File
@@ -7,14 +7,6 @@ local capabilities = vim.tbl_deep_extend(
cmp_lsp.default_capabilities()
)
local on_attach = function(client, bufnr)
if client and client.server_capabilities.documentHighlightProvider then
vim.defer_fn(function()
vim.lsp.document_color.enable(false)
end, 50)
end
end
local cmp_kinds = {
Text = '',
Method = '',
@@ -46,6 +38,7 @@ local cmp_kinds = {
require("fidget").setup({})
require("mason").setup()
require("mason-lspconfig").setup({
automatic_enable = true,
ensure_installed = {
"lua_ls",
"rust_analyzer",
@@ -58,11 +51,10 @@ require("mason-lspconfig").setup({
}
end,
cssls = function()
["css-lsp"] = function()
local lspconfig = require("lspconfig")
lspconfig.cssls.setup {
capabilities = capabilities,
on_attach = on_attach,
}
end,
+1 -1
View File
@@ -5,7 +5,7 @@ require("modicator").setup({
bold = false,
italic = false,
},
use_cursorline_background = false,
use_cursorline_background = true,
},
integration = {
lualine = {
-14
View File
@@ -1,14 +0,0 @@
require("nvim-tree").setup({
sort = {
sorter = "case_sensitive",
},
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
})