add zig stuff

This commit is contained in:
Jacob Bohanon
2024-07-01 16:40:16 -04:00
parent b6689da485
commit 8ffa24ce52
7 changed files with 240 additions and 5 deletions

View File

@@ -1,6 +1,9 @@
local map = vim.api.nvim_set_keymap
require("telescope").load_extension("live_grep_args")
local tele = require('telescope.builtin')
local tele_ext = require('telescope').extensions
local telemap = function(cmd, cb)
map('n', cmd, '', {
@@ -12,7 +15,7 @@ end
telemap('<Leader>ff', function() tele.find_files({ hidden = true, file_ignore_patterns = {'^.git'} }) end)
telemap('<Leader>fg', tele.live_grep)
telemap('<Leader>fg', tele_ext.live_grep_args.live_grep_args)
telemap('<Leader>fb', tele.buffers)