Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

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

NVIM: sync with aleister

+8 -27
+3 -3
nvim/lua/lsp.lua
··· 44 44 end, opts) 45 45 vim.keymap.set("n", "<space>D", vim.lsp.buf.type_definition, opts) 46 46 vim.keymap.set("n", "<space>rn", vim.lsp.buf.rename, opts) 47 - vim.keymap.set("n", "<space>ca", vim.lsp.buf.code_action, opts) 47 + vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, opts) 48 48 vim.keymap.set("n", "gr", vim.lsp.buf.references, opts) 49 49 vim.keymap.set("n", "<space>e", vim.diagnostic.open_float, opts) 50 - vim.keymap.set("n", "[d", vim.diagnostic.goto_prev, opts) 51 - vim.keymap.set("n", "]d", vim.diagnostic.goto_next, opts) 50 + vim.keymap.set("n", "[d", function () vim.diagnostic.jump {count = -1, float = true} end, opts) 51 + vim.keymap.set("n", "]d", function () vim.diagnostic.jump {count = 1, float = true} end, opts) 52 52 vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, opts) 53 53 vim.keymap.set("n", "<space>f", 54 54 function() vim.lsp.buf.format { async = true } end, opts)
+1 -1
nvim/lua/lsp/janet_lsp.lua
··· 2 2 cmd = { 3 3 "janet", 4 4 "-i", 5 - "/home/noah/repos/janet-lsp/jpm_tree/lib/janet-lsp.jimage", 5 + "/Users/noah/repos/janet-lsp/build/janet-lsp.jimage", 6 6 "--stdio", 7 7 } 8 8 }
+4 -23
nvim/lua/plugins.lua
··· 121 121 }, 122 122 }, -- Git stuff 123 123 -- GitGutter, shows inline difs 124 - "airblade/vim-gitgutter", 124 + --"airblade/vim-gitgutter", 125 125 { 126 126 "NeogitOrg/neogit", 127 127 dependencies = { ··· 263 263 -- Conjure, lisp is magical 264 264 { 265 265 "Olical/conjure", 266 - branch = "main", 267 266 dependencies = { "PaterJason/cmp-conjure" }, 268 267 config = function() 269 268 vim.g["conjure#client#scheme#stdio#command"] = "gxi" ··· 278 277 { "rktjmp/hotpot.nvim", lazy = true, ft = "fennel", config = true }, 279 278 { "Olical/nfnl", lazy = true, ft = "fennel", config = true }, -- Rust stuff 280 279 { 281 - "simrat39/rust-tools.nvim", 282 - lazy = true, 283 - ft = { "rust" }, 284 - config = function() 285 - local rt = require("rust-tools") 286 - rt.setup({ 287 - server = { 288 - on_attach = function(_, bufnr) 289 - -- Hover actions 290 - vim.keymap.set("n", "<C-space>", 291 - rt.hover_actions.hover_actions, 292 - { buffer = bufnr }) 293 - -- Code action groups 294 - vim.keymap.set("n", "<Leader>a", 295 - rt.code_action_group.code_action_group, 296 - { buffer = bufnr }) 297 - end 298 - } 299 - }) 300 - end, 301 - dependencies = { "nvim-lua/plenary.nvim" } 280 + "mrcjkb/rustaceanvim", 281 + lazy = false, 282 + version = "^6" 302 283 }, 303 284 { "mfussenegger/nvim-dap", lazy = true, ft = { "c", "rust" } }, 304 285 {