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() :find()
end 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 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 -- 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 -- things like custom filetypes. This is just pure lua so anything that doesn't
-- fit in the normal config locations above can go here -- fit in the normal config locations above can go here
-- Set up custom filetypes -- Set up custom filetypes
vim.filetype.add { -- vim.filetype.add {
extension = { -- extension = {
foo = "fooscript", -- foo = "fooscript",
}, -- },
filename = { -- filename = {
["Foofile"] = "fooscript", -- ["Foofile"] = "fooscript",
}, -- },
pattern = { -- pattern = {
["~/%.config/foo/.*"] = "fooscript", -- ["~/%.config/foo/.*"] = "fooscript",
}, -- },
} -- }
require("plugins.config.multigrep").setup()

Loading…
Cancel
Save