From 77cdf208765ad351e48724ed5ad57e55703eca61 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 5 Oct 2021 08:46:35 +0200 Subject: Add major update to LSP from lunarvim --- .config/nvim/config.lua | 40 ++++------------------------------------ 1 file changed, 4 insertions(+), 36 deletions(-) (limited to '.config/nvim/config.lua') diff --git a/.config/nvim/config.lua b/.config/nvim/config.lua index c2f5468..d1103df 100644 --- a/.config/nvim/config.lua +++ b/.config/nvim/config.lua @@ -10,7 +10,7 @@ options.keys.normal_mode[""] = "nohlsearch" -- LSP options.lsp.diagnostics.virtual_text = false -require("extra.json_schemas").setup() +-- require("extra.json_schemas").setup() -- After changing plugin config it is recommended to run :PackerCompile options.builtin.autopairs.active = true @@ -18,7 +18,7 @@ options.builtin.dashboard.active = true options.builtin.terminal.active = true options.builtin.telescope.active = true options.builtin.bufferline.active = true -options.builtin.nvimtree.active = true +-- options.builtin.nvimtree.active = true options.builtin.lualine.active = true options.builtin.lualine.style = "dark" @@ -51,45 +51,13 @@ options.builtin.which_key.mappings.f = { options.builtin.which_key.mappings.v = { "vsplit", "Vertical Split" } options.builtin.which_key.mappings.h = { "split", "Horizontal Split" } -options.builtin.nvimtree.auto_open = 0 +-- options.builtin.nvimtree.auto_open = 0 -- Treesitter options.builtin.treesitter.ensure_installed = "maintained" options.builtin.treesitter.autotag.enable = false options.builtin.treesitter.playground.enable = false - --- Formatters --- python -options.lang.python.formatters = { - { - exe = "black", - args = {}, - }, -} - -options.lang.python.linters = { - { - exe = "flake8", - args = {}, - }, -} - -options.lang.python.lsp.on_attach = nil - --- lua -options.lang.lua.formatters = { - { - exe = "stylua", - }, -} - ---json -options.lang.json.formatters = { - { - exe = "prettier", - args = {}, - }, -} +options.builtin.treesitter.indent.disable = { "python" } options.plugins = { { -- cgit v1.2.3-70-g09d2