-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- This config is DEPRECATED. -- Use the configs in `lsp/` instead (requires Nvim 0.11). -- -- ALL configs in `lua/lspconfig/configs/` will be DELETED. -- They exist only to support Nvim 0.10 or older. -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! return { default_config = { cmd = { 'ungrammar-languageserver', '--stdio' }, filetypes = { 'ungrammar' }, root_dir = function(fname) return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1]) end, single_file_support = true, settings = { ungrammar = { validate = { enable = true, }, format = { enable = true, }, }, }, }, docs = { description = [[ https://github.com/binhtran432k/ungrammar-language-features Language Server for Ungrammar. Ungrammar Language Server can be installed via npm: ```sh npm i ungrammar-languageserver -g ``` ]], }, }