1
Fork 0

Fixed nix.lua erroring out

This commit is contained in:
Matei Adriel 2022-08-24 15:58:06 +03:00
parent c610d1ce1a
commit 3814de3b01
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,4 @@
local A = require("my.plugins.arpeggio") local A = require("my.plugins.arpeggio")
local C = require("my.plugins.comment")
print("Initializing nix keybinds...") print("Initializing nix keybinds...")
@ -9,4 +8,4 @@ A.chordSilent("n", "ug",
{ settings = "b" }) { settings = "b" })
-- Idk why this isn't here by default -- Idk why this isn't here by default
C.setCommentString("nix", "# %s") vim.api.nvim_buf_set_option(0, "commentstring", "# %s")

View file

@ -3,7 +3,8 @@ local M = {}
function M.setup() function M.setup()
local paq = require("paq") local paq = require("paq")
local themePackages = require("my.theme").deps 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) "windwp/nvim-autopairs", -- closes pairs for me (should look for a better one)
"nvim-lua/plenary.nvim", -- async utility lib it seems? "nvim-lua/plenary.nvim", -- async utility lib it seems?
"nvim-telescope/telescope.nvim", -- fuzzy search for say opening files "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 "MunifTanjim/nui.nvim", -- ui stuff required by idris2
"ShinKage/idris2-nvim", -- idris2 support "ShinKage/idris2-nvim", -- idris2 support
"udalov/kotlin-vim", -- kotlin 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 -- Git stuff
"ruifm/gitlinker.nvim", -- generate permalinks for code "ruifm/gitlinker.nvim", -- generate permalinks for code
"TimUntersberger/neogit" -- magit clone "TimUntersberger/neogit" -- magit clone