Nixfiles! :3
0

Configure Feed

Select the types of activity you want to include in your feed.

okay some lil fixups


Signed-off-by: MLC Bloeiman <mar@strawmelonjuice.com>

MLC Bloeiman (May 8, 2026, 9:49 AM +0200) d44bf9e1 91654ec7

+42 -33
+25 -20
configs/nvim/lua/config/lsp.lua
··· 1 - local lspconfig = vim.lsp.config 1 + local servers = { "nil_ls", "rust_analyzer", "gleam", "lua_ls", "zls", "taplo", "tailwindcss", "cssls" } 2 2 3 + for _, server in ipairs(servers) do 4 + local config = vim.lsp.config[server] 3 5 4 - local servers = { "nil_ls", "rust_analyzer", "gleam", "lua_ls", "zls", "taplo", "tailwindcss", "cssls" } 6 + -- It failed to load w my careful approach so here we go just enabling all of em like yeet 7 + vim.lsp.enable(server) 5 8 6 - for _, server in ipairs(servers) do 7 - local config = lspconfig[server] 8 - 9 - if config and config.default_config then 10 - local cmd = config.default_config.cmd 11 - if cmd and cmd[1] and vim.fn.executable(cmd[1]) == 1 then 12 - vim.lsp.enable(server) 13 - 14 - end 15 - end 9 + if config and config.default_config then 10 + local cmd = config.default_config.cmd 11 + if cmd and cmd[1] and vim.fn.executable(cmd[1]) == 1 then 12 + vim.lsp.config(server, { 13 + root_dir = vim.fs.root(0, { ".git", "Cargo.toml", "package.json", "flake.nix" }) or vim.fn.getcwd(), 14 + }) 15 + vim.lsp.enable(server) 16 + end 17 + end 16 18 end 17 19 18 - vim.api.nvim_create_autocmd('LspAttach', { 19 - callback = function(args) 20 - local client = vim.lsp.get_client_by_id(args.data.client_id) 21 - if client and client.supports_method('textDocument/completion') then 22 - vim.lsp.completion.enable(true, client.id, args.buf) 23 - end 24 - end, 25 - }) 20 + vim.api.nvim_create_autocmd("LspAttach", { 21 + callback = function(args) 22 + local client = vim.lsp.get_client_by_id(args.data.client_id) 23 + if 24 + client 25 + -- and client.supports_method("textDocument/completion") 26 + then 27 + vim.lsp.completion.enable(true, client.id, args.buf) 28 + end 29 + end, 30 + })
+10 -7
configs/nvim/lua/config/options.lua
··· 2 2 3 3 vim.opt.mouse = "a" 4 4 5 + vim.opt.clipboard = "unnamedplus" 6 + 5 7 vim.opt.guicursor = "n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50" 6 8 7 9 vim.diagnostic.config({ 8 - virtual_text = { 9 - format = function(diag) 10 - return string.match(diag.message, "(.-)\n") or diag.message 11 - end, 12 - }, 13 - virtual_lines = { current_line = true }, 14 - }) 10 + virtual_text = { 11 + format = function(diag) 12 + return string.match(diag.message, "(.-)\n") or diag.message 13 + end, 14 + }, 15 + virtual_lines = { current_line = true }, 16 + }) 17 +
+7 -6
configs/nvim/lua/plugins/gvc.lua
··· 1 1 local M = {} 2 2 3 3 function M.setup() 4 - -- LazyGit 4 + -- LazyGit 5 5 -- ... honestly idk what to still put here 6 - -- LazyJJ 7 - require("lazyjj").setup({ 8 - mapping = "<space>vj", 9 - }) 6 + -- LazyJJ 7 + require("lazyjj").setup({ 8 + mapping = "<space>vj", 9 + }) 10 10 end 11 11 12 - return M 12 + return M 13 +