mirror of
https://github.com/neovim/nvim-lspconfig
synced 2024-09-16 14:24:07 +02:00
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:
parent
dddd0945c0
commit
b2c7317fec
2 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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 = {},
|
||||
|
|
Loading…
Reference in a new issue