mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-15 13:25:58 +01:00
languages/nix: add missing local
This commit is contained in:
parent
bc7fe4272b
commit
36fc4aab32
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
inherit (lib.strings) optionalString;
|
inherit (lib.strings) optionalString;
|
||||||
inherit (lib.types) enum either listOf package str;
|
inherit (lib.types) enum either listOf package str;
|
||||||
inherit (lib.nvim.types) mkGrammarOption diagnostics;
|
inherit (lib.nvim.types) mkGrammarOption diagnostics;
|
||||||
inherit (lib.nvim.dag) entryAnywhere;
|
|
||||||
inherit (lib.nvim.lua) expToLua;
|
inherit (lib.nvim.lua) expToLua;
|
||||||
inherit (lib.nvim.languages) diagnosticsToLua;
|
inherit (lib.nvim.languages) diagnosticsToLua;
|
||||||
|
|
||||||
|
@ -180,7 +179,7 @@ in {
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = "nix",
|
pattern = "nix",
|
||||||
callback = function(opts)
|
callback = function(opts)
|
||||||
bo = vim.bo[opts.buf]
|
local bo = vim.bo[opts.buf]
|
||||||
bo.tabstop = 2
|
bo.tabstop = 2
|
||||||
bo.shiftwidth = 2
|
bo.shiftwidth = 2
|
||||||
bo.softtabstop = 2
|
bo.softtabstop = 2
|
||||||
|
|
Loading…
Reference in a new issue