Browse Source

update: enable live_multigrep

master
Lucas 1 month ago
parent
commit
e3e80656c1
  1. 3
      lua/plugins/config/multigrep.lua
  2. 25
      lua/polish.lua

3
lua/plugins/config/multigrep.lua

@ -45,6 +45,7 @@ local live_multigrep = function(opts)
:find()
end
M.setup = function() vim.keymap.set("n", "<space>fg", live_multigrep, { desc = "Find using multigrep" }) end
M.setup = function() vim.keymap.set("n", "<space>fG", live_multigrep, { desc = "Find using multigrep" }) end
return M

25
lua/polish.lua

@ -1,18 +1,19 @@
if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- This will run last in the setup process and is a good place to configure
-- things like custom filetypes. This is just pure lua so anything that doesn't
-- fit in the normal config locations above can go here
-- Set up custom filetypes
vim.filetype.add {
extension = {
foo = "fooscript",
},
filename = {
["Foofile"] = "fooscript",
},
pattern = {
["~/%.config/foo/.*"] = "fooscript",
},
}
-- vim.filetype.add {
-- extension = {
-- foo = "fooscript",
-- },
-- filename = {
-- ["Foofile"] = "fooscript",
-- },
-- pattern = {
-- ["~/%.config/foo/.*"] = "fooscript",
-- },
-- }
require("plugins.config.multigrep").setup()

Loading…
Cancel
Save