Skip to content

Commit

Permalink
feat: add glint (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 23, 2022
1 parent 908bf46 commit 5b510d9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ local DEFAULT_SETTINGS = {
| Flux | `flux_lsp` |
| Foam (OpenFOAM) | `foam_ls` |
| Fortran | `fortls` |
| Glint | `glint` |
| Go | `golangci_lint_ls` |
| Go | `gopls` |
| Gradle | `gradle_ls` |
Expand Down
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
| [foam_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#foam_ls) | [foam-language-server](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#foam-language-server) |
| [fortls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#fortls) | [fortls](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#fortls) |
| [fsautocomplete](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#fsautocomplete) | [fsautocomplete](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#fsautocomplete) |
| [glint](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#glint) | [glint](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#glint) |
| [golangci_lint_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#golangci_lint_ls) | [golangci-lint-langserver](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#golangci-lint-langserver) |
| [gopls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#gopls) | [gopls](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#gopls) |
| [gradle_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#gradle_ls) | [gradle-language-server](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#gradle-language-server) |
Expand Down
9 changes: 6 additions & 3 deletions lua/mason-lspconfig/mappings/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,20 @@ return {
graphql = { "graphql" },
groovy = { "gradle_ls", "groovyls" },
haml = { "tailwindcss" },
handlebars = { "ember", "tailwindcss" },
handlebars = { "ember", "glint", "tailwindcss" },
haskell = { "hls" },
haxe = { "haxe_language_server" },
hbs = { "tailwindcss" },
heex = { "elixirls", "tailwindcss" },
hoon = { "hoon_ls" },
html = { "angularls", "emmet_ls", "html", "tailwindcss" },
["html-eex"] = { "tailwindcss" },
["html.handlebars"] = { "glint" },
htmldjango = { "tailwindcss" },
jade = { "tailwindcss" },
java = { "jdtls" },
javascript = { "cssmodules_ls", "denols", "ember", "eslint", "quick_lint_js", "rome", "stylelint_lsp", "tailwindcss", "tsserver" },
javascript = { "cssmodules_ls", "denols", "ember", "eslint", "glint", "quick_lint_js", "rome", "stylelint_lsp", "tailwindcss", "tsserver" },
["javascript.glimmer"] = { "glint" },
["javascript.jsx"] = { "denols", "eslint", "tsserver" },
javascriptreact = { "cssmodules_ls", "denols", "emmet_ls", "eslint", "graphql", "rome", "stylelint_lsp", "tailwindcss", "tsserver" },
json = { "jsonls", "rome" },
Expand Down Expand Up @@ -145,7 +147,8 @@ return {
tex = { "ltex", "texlab" },
toml = { "taplo" },
twig = { "tailwindcss" },
typescript = { "angularls", "cssmodules_ls", "denols", "ember", "eslint", "rome", "stylelint_lsp", "tailwindcss", "tsserver" },
typescript = { "angularls", "cssmodules_ls", "denols", "ember", "eslint", "glint", "rome", "stylelint_lsp", "tailwindcss", "tsserver" },
["typescript.glimmer"] = { "glint" },
["typescript.tsx"] = { "angularls", "denols", "eslint", "rome", "tsserver" },
typescriptreact = { "angularls", "cssmodules_ls", "denols", "emmet_ls", "eslint", "graphql", "rome", "stylelint_lsp", "tailwindcss", "tsserver" },
vala = { "vala_ls" },
Expand Down
1 change: 1 addition & 0 deletions lua/mason-lspconfig/mappings/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ M.lspconfig_to_package = {
["foam_ls"] = "foam-language-server",
["fortls"] = "fortls",
["fsautocomplete"] = "fsautocomplete",
["glint"] = "glint",
["golangci_lint_ls"] = "golangci-lint-langserver",
["gopls"] = "gopls",
["gradle_ls"] = "gradle-language-server",
Expand Down

0 comments on commit 5b510d9

Please sign in to comment.