From e8ffa065a1062fe8b57413ea6cca7d1d07bad449 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 7 Apr 2024 11:50:57 +0100 Subject: [PATCH] Add PHP filetype for inc and module extensions --- after/plugin/filetype.lua | 2 ++ justfile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/after/plugin/filetype.lua b/after/plugin/filetype.lua index 4595aef..617965c 100644 --- a/after/plugin/filetype.lua +++ b/after/plugin/filetype.lua @@ -1,5 +1,7 @@ vim.filetype.add { extension = { + inc = "php", + module = "php", theme = "php", }, } diff --git a/justfile b/justfile index 16e7883..dc70ac8 100644 --- a/justfile +++ b/justfile @@ -1,8 +1,8 @@ _default: just --list -build profile: - nix build --json --no-link --print-build-logs ".#{{ profile }}" +build profile *args: + nix build --json --no-link --print-build-logs ".#{{ profile }}" {{ args }} check: nix flake check