From 36fc4aab3290c039595053cff260e40d02e2d4ff Mon Sep 17 00:00:00 2001 From: diniamo Date: Tue, 16 Jul 2024 13:05:49 +0200 Subject: [PATCH] languages/nix: add missing `local` --- modules/plugins/languages/nix.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/plugins/languages/nix.nix b/modules/plugins/languages/nix.nix index a45cdcb..6cf1f90 100644 --- a/modules/plugins/languages/nix.nix +++ b/modules/plugins/languages/nix.nix @@ -11,7 +11,6 @@ inherit (lib.strings) optionalString; inherit (lib.types) enum either listOf package str; inherit (lib.nvim.types) mkGrammarOption diagnostics; - inherit (lib.nvim.dag) entryAnywhere; inherit (lib.nvim.lua) expToLua; inherit (lib.nvim.languages) diagnosticsToLua; @@ -180,7 +179,7 @@ in { vim.api.nvim_create_autocmd("FileType", { pattern = "nix", callback = function(opts) - bo = vim.bo[opts.buf] + local bo = vim.bo[opts.buf] bo.tabstop = 2 bo.shiftwidth = 2 bo.softtabstop = 2