From: Huck Boles Date: Thu, 29 Jun 2023 14:39:53 +0000 (-0500) Subject: edited: removed extraneous comments and keybinds X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=0ba124f47de1f53ee4176c4e9a4f2574e163f58d;p=nvim.git edited: removed extraneous comments and keybinds --- diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 49b3f63..22ceeae 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -78,44 +78,6 @@ return { config = function() -- servers to setup local lsp = require("lspconfig") - -- lsp.rust_analyzer.setup({ - -- settings = { - -- ['rust-analyzer'] = { - -- completion = { - -- privateEditable = true, - -- completionItem = { - -- preselectSupport = true, - -- snippetSupport = true, - -- } - -- }, - -- hover = { - -- actions = { - -- enable = true, - -- references = true, - -- } - -- }, - -- imports = { - -- granularity = { - -- enforce = true, - -- }, - -- group = true, - -- prefix = "self", - -- }, - -- inlayHints = { - -- closureCaptureHints = true, - -- closureReturnTypeHints = true, - -- lifetimeElisionHints = true, - -- discriminantHints = true, - -- expressionAdjustmentHints = { enable = true, mode = "postfix" }, - -- closingBraceHints = { enable = true, minLines = 1 }, - -- }, - -- highlightRelated = { enable = true }, - -- magicCompletions = { enable = true }, - -- procMacro = { - -- enable = true - -- } } - -- } - -- }) lsp.awk_ls.setup({}) lsp.bashls.setup({}) lsp.clangd.setup({}) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 74384bc..41eddd8 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -40,14 +40,12 @@ return { ["if"] = "@function.inner", ["ac"] = "@comment.outer", ["ic"] = "@comment.inner", - ["aC"] = "@class.outer", - ["iC"] = "@class.inner", + ["aC"] = "@conditional.outer", + ["iC"] = "@conditional.inner", ["al"] = "@loop.outer", ["il"] = "@loop.inner", - ["an"] = "@number.outer", - ["in"] = "@number.inner", - ["av"] = "@parameter.outer", - ["iv"] = "@parameter.inner", + ["ab"] = "@block.outer", + ["ib"] = "@block.inner", } } }