diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-09-01 10:38:43 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-09-01 10:38:43 -0400 |
commit | 418eae596e0bcd23100d9c3a252044d53d6c984f (patch) | |
tree | 4160effbb5be34f33c0fd6f054564a553dea4130 | |
parent | 13137e5e05a7a68cc30e115d71e2f517015cac95 (diff) |
Add faith-go plugin back
A lot of this stuff is handled by an lsp, but this has some niceness
about it.
-rw-r--r-- | after/plugin/telescope.lua | 15 | ||||
-rw-r--r-- | after/plugin/treesitter.lua | 1 | ||||
-rw-r--r-- | lua/jacksontaylorxyz/packer.lua | 2 |
3 files changed, 17 insertions, 1 deletions
diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua new file mode 100644 index 0000000..d3ca569 --- /dev/null +++ b/after/plugin/telescope.lua @@ -0,0 +1,15 @@ +require('telescope').setup{ + defaults = { + -- Default configuration for telescope goes here: + -- config_key = value, + mappings = { + n = { + ['<c-d>'] = require('telescope.actions').delete_buffer + }, -- n + i = { + ["<C-h>"] = "which_key", + ['<c-d>'] = require('telescope.actions').delete_buffer + } -- i + } -- mappings + }, -- defaults +} -- telescope setup diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index 9df06d7..2bce3ff 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -1,4 +1,5 @@ require'nvim-treesitter.configs'.setup { + -- A full list can be found here: https://github.com/nvim-treesitter/nvim-treesitter#supported-languages -- A list of parser names ensure_installed = { "bash", diff --git a/lua/jacksontaylorxyz/packer.lua b/lua/jacksontaylorxyz/packer.lua index 38a22a4..5c9ffc5 100644 --- a/lua/jacksontaylorxyz/packer.lua +++ b/lua/jacksontaylorxyz/packer.lua @@ -121,6 +121,6 @@ return require('packer').startup(function(use) {'rafamadriz/friendly-snippets'}, -- Optional -- The actual snippets } } - -- use {'fatih/vim-go', run = ':GoInstallBinaries GoUpdateBinaries' } -- Nice Golang plugin + use {'fatih/vim-go', run = ':GoUpdateBinaries' } -- Nice Golang plugin end) |