From 61f7affc05f1ebfae25111e11ce6ac86c82d7840 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Sun, 26 May 2024 00:29:41 +0200 Subject: [PATCH] enabled snippy cut_text and lsp_code_action --- init.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index c1341d2..37280bd 100644 --- a/init.lua +++ b/init.lua @@ -358,6 +358,9 @@ require('lazy').setup( } } lspconfig.gopls.setup{} + lspconfig.pyright.setup{} + + vim.keymap.set("n", "ca", vim.lsp.buf.code_action, { desc = "Perform code action" }) end, }, { 'dcampos/nvim-snippy', @@ -369,9 +372,9 @@ require('lazy').setup( -- [''] = 'expand_or_advance', -- [''] = 'previous', -- }, - -- nx = { - -- ['x'] = 'cut_text', - -- }, + nx = { + ['x'] = 'cut_text', + }, }, }) end