From 9a4835e3946dd2f87136fa79ccc059911866d9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= <dev@felschr.com> Date: Sun, 9 Apr 2023 21:35:23 +0200 Subject: [PATCH] fix(neovim): fix .env.* filetype --- home/editors/neovim/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/editors/neovim/filetype.lua b/home/editors/neovim/filetype.lua index 578f127..551c04e 100644 --- a/home/editors/neovim/filetype.lua +++ b/home/editors/neovim/filetype.lua @@ -15,7 +15,7 @@ vim.filetype.add({ rcall = "glsl", }, pattern = { - [".env.*"] = "direnv", + [".env.*"] = "sh", [".*"] = function(path, bufnr) local first_line = vim.api.nvim_buf_get_lines(bufnr, 0, 1, true)[1] if first_line ~= nil and first_line:match("^#!.*nix%-shell") ~= nil then