From 5ab36cc16eec0f48eb9acba9c358bd9e44f992b7 Mon Sep 17 00:00:00 2001 From: surdeus Date: Wed, 20 Sep 2023 19:45:45 +0300 Subject: [PATCH] Added mouse toggling folds. --- nvim/init.lua | 2 ++ nvim/lua/maps.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/nvim/init.lua b/nvim/init.lua index f300f4d..21d6f52 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -25,6 +25,8 @@ require("maps") local hls = require("color.night").hls require("color").apply_hls((hls)) +--require'lspconfig'.gopls.setup{} + require("bootstrap") require("dep") { } diff --git a/nvim/lua/maps.lua b/nvim/lua/maps.lua index b5f132d..fdf0749 100644 --- a/nvim/lua/maps.lua +++ b/nvim/lua/maps.lua @@ -34,6 +34,7 @@ local opts = {nowait=true, silent = true} map('n', '\\tn', ':tabnew\n', opts) -- Fold + map('n', '<2-LeftMouse>', 'za', opts) -- Insert -- Literal tabs with Shift-Tab map('i', '', '\t', opts)