feat(dial): support vue filetype (#4785)
## Description <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> support vue filetype ## Related Issue(s) <!-- If this PR fixes any issues, please link to the issue here. - Fixes #<issue_number> --> ## Screenshots <!-- Add screenshots of the changes if applicable. --> ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
@ -98,7 +98,10 @@ return {
|
|||||||
return {
|
return {
|
||||||
dials_by_ft = {
|
dials_by_ft = {
|
||||||
css = "css",
|
css = "css",
|
||||||
|
vue = "vue",
|
||||||
javascript = "typescript",
|
javascript = "typescript",
|
||||||
|
typescript = "typescript",
|
||||||
|
typescriptreact = "typescript",
|
||||||
javascriptreact = "typescript",
|
javascriptreact = "typescript",
|
||||||
json = "json",
|
json = "json",
|
||||||
lua = "lua",
|
lua = "lua",
|
||||||
@ -106,8 +109,6 @@ return {
|
|||||||
python = "python",
|
python = "python",
|
||||||
sass = "css",
|
sass = "css",
|
||||||
scss = "css",
|
scss = "css",
|
||||||
typescript = "typescript",
|
|
||||||
typescriptreact = "typescript",
|
|
||||||
yaml = "yaml",
|
yaml = "yaml",
|
||||||
},
|
},
|
||||||
groups = {
|
groups = {
|
||||||
@ -122,6 +123,14 @@ return {
|
|||||||
augend.constant.alias.bool, -- boolean value (true <-> false)
|
augend.constant.alias.bool, -- boolean value (true <-> false)
|
||||||
logical_alias,
|
logical_alias,
|
||||||
},
|
},
|
||||||
|
vue = {
|
||||||
|
augend.integer.alias.decimal_int, -- nonnegative and negative decimal number
|
||||||
|
augend.constant.alias.bool, -- boolean value (true <-> false)
|
||||||
|
logical_alias,
|
||||||
|
augend.constant.new({ elements = { "let", "const" } }),
|
||||||
|
augend.hexcolor.new({ case = "lower" }),
|
||||||
|
augend.hexcolor.new({ case = "upper" }),
|
||||||
|
},
|
||||||
typescript = {
|
typescript = {
|
||||||
augend.integer.alias.decimal_int, -- nonnegative and negative decimal number
|
augend.integer.alias.decimal_int, -- nonnegative and negative decimal number
|
||||||
augend.constant.alias.bool, -- boolean value (true <-> false)
|
augend.constant.alias.bool, -- boolean value (true <-> false)
|
||||||
|
Reference in New Issue
Block a user