diff --git a/dotfiles/neovim/ftplugin/nix.lua b/dotfiles/neovim/ftplugin/nix.lua index 5b3a950..5dba7d9 100644 --- a/dotfiles/neovim/ftplugin/nix.lua +++ b/dotfiles/neovim/ftplugin/nix.lua @@ -1,5 +1,4 @@ local A = require("my.plugins.arpeggio") -local C = require("my.plugins.comment") print("Initializing nix keybinds...") @@ -9,4 +8,4 @@ A.chordSilent("n", "ug", { settings = "b" }) -- Idk why this isn't here by default -C.setCommentString("nix", "# %s") +vim.api.nvim_buf_set_option(0, "commentstring", "# %s") diff --git a/dotfiles/neovim/lua/my/paq.lua b/dotfiles/neovim/lua/my/paq.lua index b0479e5..33515a4 100644 --- a/dotfiles/neovim/lua/my/paq.lua +++ b/dotfiles/neovim/lua/my/paq.lua @@ -3,7 +3,8 @@ local M = {} function M.setup() local paq = require("paq") local themePackages = require("my.theme").deps - local base = { "neovim/nvim-lspconfig", -- configures lsps for me + local base = { + "neovim/nvim-lspconfig", -- configures lsps for me "windwp/nvim-autopairs", -- closes pairs for me (should look for a better one) "nvim-lua/plenary.nvim", -- async utility lib it seems? "nvim-telescope/telescope.nvim", -- fuzzy search for say opening files @@ -46,6 +47,8 @@ function M.setup() "MunifTanjim/nui.nvim", -- ui stuff required by idris2 "ShinKage/idris2-nvim", -- idris2 support "udalov/kotlin-vim", -- kotlin support + "haringsrob/nvim_context_vt", -- show context on closing parenthesis + "vuki656/package-info.nvim", -- shows latest versions in package.json -- Git stuff "ruifm/gitlinker.nvim", -- generate permalinks for code "TimUntersberger/neogit" -- magit clone