aboutsummaryrefslogtreecommitdiff
path: root/configs/nvim/lua/crupest/constants.lua
diff options
context:
space:
mode:
Diffstat (limited to 'configs/nvim/lua/crupest/constants.lua')
-rw-r--r--configs/nvim/lua/crupest/constants.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/configs/nvim/lua/crupest/constants.lua b/configs/nvim/lua/crupest/constants.lua
new file mode 100644
index 0000000..c8238e7
--- /dev/null
+++ b/configs/nvim/lua/crupest/constants.lua
@@ -0,0 +1,31 @@
+local config_patterns = {
+ cspell = {
+ ".cspell.json",
+ "cspell.json",
+ ".cSpell.json",
+ "cSpell.json",
+ "cspell.config.js",
+ "cspell.config.cjs",
+ "cspell.config.json",
+ "cspell.config.yaml",
+ "cspell.config.yml",
+ "cspell.yaml",
+ "cspell.yml",
+ },
+ nodejs = {
+ "package.json"
+ },
+ deno = {
+ "deno.json", "deno.jsonc"
+ }
+}
+
+local filetypes = {
+ js_ts = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact' }
+
+}
+
+return {
+ config_patterns = config_patterns,
+ filetypes = filetypes,
+}