Compare commits
4 Commits
67bf866434
...
6197dace5c
| Author | SHA1 | Date | |
|---|---|---|---|
| 6197dace5c | |||
| 9718a5a67b | |||
| 3ce59f2e5b | |||
| eeec610f47 |
@@ -16,6 +16,7 @@
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "4cfe411526a7a99c18281135e8b4765ae6330d15" },
|
||||
"mason.nvim": { "branch": "main", "commit": "57e5a8addb8c71fb063ee4acda466c7cf6ad2800" },
|
||||
"mini.pairs": { "branch": "main", "commit": "d5a29b6254dad07757832db505ea5aeab9aad43a" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "f3df514fff2bdd4318127c40470984137f87b62e" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "0b457958cb958c16850b5a1fb38bbcd982909181" },
|
||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||
|
||||
@@ -13,12 +13,6 @@ autocmd('LspAttach', {
|
||||
local opts = { buffer = e.buf }
|
||||
vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts)
|
||||
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts)
|
||||
vim.keymap.set("n", "<leader>vws", function() vim.lsp.buf.workspace_symbol() end, opts)
|
||||
vim.keymap.set("n", "<leader>vd", function() vim.diagnostic.open_float() end, opts)
|
||||
vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts)
|
||||
vim.keymap.set("n", "<leader>vrr", function() builtin.lsp_references() end, opts)
|
||||
vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts)
|
||||
vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts)
|
||||
vim.keymap.set("n", "[d", function() vim.diagnostic.jump({ count = 1 }) end, opts)
|
||||
vim.keymap.set("n", "]d", function() vim.diagnostic.jump({ count = -1 }) end, opts)
|
||||
vim.keymap.set("n", "<M-F>", function() vim.lsp.buf.format() end, opts)
|
||||
|
||||
@@ -75,9 +75,9 @@ return {
|
||||
}
|
||||
})
|
||||
|
||||
vim.lsp.config('helm-ls', {
|
||||
vim.lsp.config('helm_ls', {
|
||||
settings = {
|
||||
['helm-ls'] = {
|
||||
['helm_ls'] = {
|
||||
helmLint = { enabled = false },
|
||||
yamlls = { enabled = false },
|
||||
},
|
||||
@@ -85,7 +85,11 @@ return {
|
||||
})
|
||||
|
||||
vim.lsp.config('terraformls', {
|
||||
filetypes = { 'terraform', 'terraform-vars', 'tf' }
|
||||
filetypes = { 'terraform', 'terraform-vars' },
|
||||
-- run terraformls once for a git repo
|
||||
root_dir = function(bufnr, on_dir)
|
||||
on_dir(vim.fs.root(bufnr, '.git'))
|
||||
end
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
8
lua/crentist/lazy/pairs.lua
Normal file
8
lua/crentist/lazy/pairs.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
'nvim-mini/mini.pairs',
|
||||
version = '0.17.x',
|
||||
config = function()
|
||||
require('mini.pairs').setup()
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user