From 6a1810f4dfe4ac22dfbaf2b98fb7618fd76eb761 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 30 Apr 2025 13:14:22 +0200 Subject: vim: misc updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .vim/lua/internal/plugins/gentoo.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.vim/lua/internal/plugins/gentoo.lua') diff --git a/.vim/lua/internal/plugins/gentoo.lua b/.vim/lua/internal/plugins/gentoo.lua index 142374c..2fc8684 100644 --- a/.vim/lua/internal/plugins/gentoo.lua +++ b/.vim/lua/internal/plugins/gentoo.lua @@ -1,11 +1,11 @@ return { { 'gentoo/gentoo-syntax', - lazy = false, - config = function() + ft = { 'ebuild' }, + init = function() vim.api.nvim_create_autocmd('LspAttach', { callback = function(args) - if vim.bo.filetype == 'ebuild' then + if vim.opt.filetype == 'ebuild' then vim.lsp.stop_client(vim.lsp.get_clients({ bufnr = args.bufnr })) end end, -- cgit 1.4.1