From 8d436b570eeda874faa0fdda9363de29684ccfff Mon Sep 17 00:00:00 2001 From: Aria Nolan Date: Sat, 24 Feb 2024 11:55:49 -0500 Subject: [PATCH] neovim filetype options --- users/tacocat/neovim/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/users/tacocat/neovim/default.nix b/users/tacocat/neovim/default.nix index 2c197cc..d535e25 100644 --- a/users/tacocat/neovim/default.nix +++ b/users/tacocat/neovim/default.nix @@ -41,10 +41,19 @@ nixvimInjections = true; }; }; - # filetype.extension = { - # ".md" = '' - # vim.bo.spell = true - # ''; - # }; + files = { + "ftplugin/nix.lua" = { + options = { + expandtab = true; + shiftwidth = 2; + tabstop = 2; + }; + }; + "ftplugin/markdown.lua" = { + options = { + spell = true; + }; + }; + }; }; }