1
Fork 0

Move more modules from lua to nix

This commit is contained in:
Matei Adriel 2024-01-01 21:24:04 +01:00
parent 42cd073278
commit c36f93d9c9
No known key found for this signature in database
13 changed files with 1316 additions and 1332 deletions
home/features/neovim/config/ftplugin

View file

@ -1 +0,0 @@
vim.api.nvim_buf_set_option(0, "commentstring", "-- %s")

View file

@ -1 +0,0 @@
require("my.helpers.wrapMovement").enable()

View file

@ -1,9 +0,0 @@
-- Use _<leader>lg_ to fetchgit stuff
vim.keymap.set("n", "<leader>lg", function()
require("my.tempest").withSavedCursor(function()
vim.cmd(":%!update-nix-fetchgit")
end)
end, { buffer = true, desc = "Update all fetchgit calls" })
-- Idk why this isn't here by default
vim.api.nvim_buf_set_option(0, "commentstring", "# %s")

View file

@ -1,7 +1,6 @@
local A = require("my.abbreviations")
local scrap = require("scrap")
require("my.helpers.wrapMovement").enable()
require("my.abbreviations.math").setup()
vim.opt.conceallevel = 0

View file

@ -1,3 +1,2 @@
require("my.helpers.wrapMovement").enable()
require("my.abbreviations.math").setup()
require("my.abbreviations.unicode").setup()