diff options
author | crupest <crupest@outlook.com> | 2024-09-07 02:59:28 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-09-07 02:59:28 +0800 |
commit | b109ae78fb51c8f288e18c28cfd711f0192b20c8 (patch) | |
tree | f1c05e14d3e4a2955e49121ddf8341e7fc8e951b /configs/nvim/lua/crupest/constants.lua | |
parent | 669048c81d4974adc4d795cff158ab8551218bd9 (diff) | |
download | crupest-b109ae78fb51c8f288e18c28cfd711f0192b20c8.tar.gz crupest-b109ae78fb51c8f288e18c28cfd711f0192b20c8.tar.bz2 crupest-b109ae78fb51c8f288e18c28cfd711f0192b20c8.zip |
config(nvim): refactor a lot.
Diffstat (limited to 'configs/nvim/lua/crupest/constants.lua')
-rw-r--r-- | configs/nvim/lua/crupest/constants.lua | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/configs/nvim/lua/crupest/constants.lua b/configs/nvim/lua/crupest/constants.lua deleted file mode 100644 index 89ae968..0000000 --- a/configs/nvim/lua/crupest/constants.lua +++ /dev/null @@ -1,32 +0,0 @@ -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 filetype_collections = { - js_ts = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact' }, - html_css = { 'html', 'css' }, - frontend = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'html', 'css' }, -} - -return { - config_patterns = config_patterns, - filetype_collections = filetype_collections, -} |