From 8c85949f849fa4fb5eb2ee2bc72ddf785c18c042 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 17 Aug 2023 10:33:38 +0700 Subject: [PATCH] chore(config): nvim disable right mouse --- data/nvim/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index a5d8a23..95f1bac 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -33,6 +33,7 @@ end -- Mouse support vim.opt.mouse = "a" +vim.opt.mousemodel = "extend" -- Workaround -- https://github.com/neovim/neovim/issues/16416 @@ -355,6 +356,7 @@ require("lazy").setup({ "sbdchd/neoformat", init = function() vim.g.neoformat_enabled_go = { "gofumpt" } + vim.g.neoformat_enabled_javascript = { "denofmt" } vim.g.neoformat_enabled_json = { "denofmt" } vim.g.neoformat_enabled_lua = { "stylua" } vim.g.neoformat_enabled_markdown = { "denofmt" }