summaryrefslogtreecommitdiff
path: root/.config/nvim/ftdetect
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/ftdetect')
-rw-r--r--.config/nvim/ftdetect/nix.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/ftdetect/nix.lua b/.config/nvim/ftdetect/nix.lua
new file mode 100644
index 0000000..a85bcfd
--- /dev/null
+++ b/.config/nvim/ftdetect/nix.lua
@@ -0,0 +1 @@
+vim.cmd [[ au BufRead,BufNewFile *.nix set filetype=nix ]]