From 34de2fa3694b63fba144807695a12a6fc0d60ad3 Mon Sep 17 00:00:00 2001 From: Jimmy Bates Date: Mon, 1 Jul 2024 01:39:23 -0700 Subject: [PATCH] Some updates --- lua/custom/plugins/autoformat.lua | 2 +- lua/custom/plugins/barbar.lua | 2 -- lua/custom/plugins/lsp.lua | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/custom/plugins/autoformat.lua b/lua/custom/plugins/autoformat.lua index e524b644..4ef4ca5d 100644 --- a/lua/custom/plugins/autoformat.lua +++ b/lua/custom/plugins/autoformat.lua @@ -20,7 +20,7 @@ return { -- languages here or re-enable it for the disabled ones. local disable_filetypes = { c = true, cpp = true } return { - timeout_ms = 500, + timeout_ms = 3000, lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype], } end, diff --git a/lua/custom/plugins/barbar.lua b/lua/custom/plugins/barbar.lua index cd7f1026..5644d5bd 100644 --- a/lua/custom/plugins/barbar.lua +++ b/lua/custom/plugins/barbar.lua @@ -2,7 +2,6 @@ return { { 'romgrk/barbar.nvim', dependencies = { - 'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status 'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons }, init = function() @@ -23,6 +22,5 @@ return { -- insert_at_start = true, -- …etc. }, - version = '^1.0.0', -- optional: only update when a new 1.x version is released }, } diff --git a/lua/custom/plugins/lsp.lua b/lua/custom/plugins/lsp.lua index b3a38f80..8a926de4 100644 --- a/lua/custom/plugins/lsp.lua +++ b/lua/custom/plugins/lsp.lua @@ -214,6 +214,7 @@ return { -- LSP Configuration & Plugins 'djlint', 'typescript-language-server', 'deno', + 'stylelint', }) require('mason-tool-installer').setup { ensure_installed = ensure_installed }