From 720b8dc543de757ace8bc910b14389e8bdf38869 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Wed, 6 Apr 2022 21:17:03 +0200 Subject: [PATCH] Disable diagnostics --- .config/nvim/lua/options.lua | 3 +++ .config/nvim/lua/plugins/lsp-cmp.lua | 5 +---- .config/nvim/lua/plugins/lualine.lua | 2 +- .julia/environments/v1.7/Project.toml | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua index e7a73ad..d560a76 100644 --- a/.config/nvim/lua/options.lua +++ b/.config/nvim/lua/options.lua @@ -43,3 +43,6 @@ opt.linebreak = true -- Highlight on yank vim.cmd([[au TextYankPost * silent! lua vim.highlight.on_yank {timeout=1200}]]) + +-- Disable diagnostics +vim.diagnostic.disable() diff --git a/.config/nvim/lua/plugins/lsp-cmp.lua b/.config/nvim/lua/plugins/lsp-cmp.lua index 5f98667..b24ec2b 100644 --- a/.config/nvim/lua/plugins/lsp-cmp.lua +++ b/.config/nvim/lua/plugins/lsp-cmp.lua @@ -11,7 +11,7 @@ local function format_on_save(client) vim.cmd([[ augroup LspFormatting autocmd! * - autocmd BufWritePre lua vim.lsp.buf.formatting_sync(nil, 10000) + autocmd BufWritePre lua vim.lsp.buf.formatting_sync(nil, 60000) augroup END ]]) end @@ -50,9 +50,6 @@ null_ls.setup({ null_ls.builtins.formatting.shellharden, null_ls.builtins.formatting.shfmt, null_ls.builtins.formatting.taplo, - -- - null_ls.builtins.diagnostics.gitlint, - null_ls.builtins.diagnostics.shellcheck, }, on_attach = format_on_save, }) diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua index c64d789..433c614 100644 --- a/.config/nvim/lua/plugins/lualine.lua +++ b/.config/nvim/lua/plugins/lualine.lua @@ -3,7 +3,7 @@ local gps = require("nvim-gps") require("lualine").setup({ sections = { lualine_a = { "filename" }, - lualine_b = { "branch", "diff", "diagnostics" }, + lualine_b = { "branch", "diff" }, lualine_c = { { gps.get_location, cond = gps.is_available } }, lualine_x = { "filetype" }, lualine_y = {}, diff --git a/.julia/environments/v1.7/Project.toml b/.julia/environments/v1.7/Project.toml index efd80ad..4c7558a 100644 --- a/.julia/environments/v1.7/Project.toml +++ b/.julia/environments/v1.7/Project.toml @@ -1,5 +1,4 @@ [deps] BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" OhMyREPL = "5fb14364-9ced-5910-84b2-373655c76a03" -Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781" Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"