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 | 08de254c0c12ab04c9665428c1961afa2b413cb1 (patch) | |
tree | fc27d99b5f2647a23d49ae2379732321ad6c1d99 /configs/nvim/lua/crupest/constants.lua | |
parent | cc0e89edcf0f1e11864efb26df992cc1d6609414 (diff) | |
download | crupest-08de254c0c12ab04c9665428c1961afa2b413cb1.tar.gz crupest-08de254c0c12ab04c9665428c1961afa2b413cb1.tar.bz2 crupest-08de254c0c12ab04c9665428c1961afa2b413cb1.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, +} |