diff options
author | crupest <crupest@outlook.com> | 2023-11-19 00:51:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-11-19 00:51:47 +0800 |
commit | 8aea2c0afa64fd516efe55d2dbb46b47552041ea (patch) | |
tree | fc27d99b5f2647a23d49ae2379732321ad6c1d99 /configs/nvim/lua/crupest/constants.lua | |
parent | 61a6cc36e4f0309523a4a0f42174460999e536e6 (diff) | |
download | crupest-8aea2c0afa64fd516efe55d2dbb46b47552041ea.tar.gz crupest-8aea2c0afa64fd516efe55d2dbb46b47552041ea.tar.bz2 crupest-8aea2c0afa64fd516efe55d2dbb46b47552041ea.zip |
config(nvim): extract out constants.
Diffstat (limited to 'configs/nvim/lua/crupest/constants.lua')
-rw-r--r-- | configs/nvim/lua/crupest/constants.lua | 31 |
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, +} |