From 95e38b2ee7c826c52c72ea1e34c0f33dca6b7701 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 16 Oct 2023 04:04:11 -0400 Subject: [PATCH] lvim: disable pylyzer and mouse --- modules/vim/init.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/vim/init.lua b/modules/vim/init.lua index 4da53e9..9f85f65 100644 --- a/modules/vim/init.lua +++ b/modules/vim/init.lua @@ -1,8 +1,11 @@ -lvim.format_on_save = true - +vim.opt.mouse = "" vim.opt.relativenumber = true vim.opt.whichwrap = "" +vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "pylyzer" }) + +lvim.format_on_save = true + local formatters = require "lvim.lsp.null-ls.formatters" formatters.setup { { exe = "nixpkgs-fmt", filetypes = { "nix" } },