fix: remove invalid filetypes containing wildcards from typos_lsp and hyprls (#3273)

* fix(typos_lsp): remove unnecessary `*` filetype

* fix(hyprls): remove invalid filetypes containing wildcards
This commit is contained in:
WieeRd 2024-08-21 14:54:42 +09:00 committed by GitHub
parent dddd0945c0
commit b2c7317fec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'hyprls', '--stdio' },
filetypes = { 'hyprlang', '*.hl', 'hypr*.conf', '.config/hypr/*.conf' },
filetypes = { 'hyprlang' },
root_dir = util.find_git_ancestor,
single_file_support = true,
},

View file

@ -3,7 +3,6 @@ local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'typos-lsp' },
filetypes = { '*' },
root_dir = util.root_pattern('typos.toml', '_typos.toml', '.typos.toml'),
single_file_support = true,
settings = {},