aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Lithammer <peter.lithammer@gmail.com>2022-03-08 14:19:57 +0100
committerGitHub <noreply@github.com>2022-03-08 14:19:57 +0100
commit04e4d00674cd0e5505cbaf977cd7988301626f2f (patch)
tree1c93e22f563b9e00b9245c4841800dc3ae113857
parentdocs: update server_configurations.md (diff)
parentstyle(teal_ls): fix indentation and single quotes (diff)
downloadnvim-lspconfig-04e4d00674cd0e5505cbaf977cd7988301626f2f.tar
nvim-lspconfig-04e4d00674cd0e5505cbaf977cd7988301626f2f.tar.gz
nvim-lspconfig-04e4d00674cd0e5505cbaf977cd7988301626f2f.tar.bz2
nvim-lspconfig-04e4d00674cd0e5505cbaf977cd7988301626f2f.tar.lz
nvim-lspconfig-04e4d00674cd0e5505cbaf977cd7988301626f2f.tar.xz
nvim-lspconfig-04e4d00674cd0e5505cbaf977cd7988301626f2f.tar.zst
nvim-lspconfig-04e4d00674cd0e5505cbaf977cd7988301626f2f.zip
Merge pull request #1761 from neovim/teal-fix-format
style(teal_ls): fix indentation and single quotes
-rw-r--r--lua/lspconfig/server_configurations/teal_ls.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/lua/lspconfig/server_configurations/teal_ls.lua b/lua/lspconfig/server_configurations/teal_ls.lua
index 23322d09..b554adda 100644
--- a/lua/lspconfig/server_configurations/teal_ls.lua
+++ b/lua/lspconfig/server_configurations/teal_ls.lua
@@ -2,16 +2,16 @@ local util = require 'lspconfig.util'
return {
default_config = {
- cmd = {
- "teal-language-server",
- -- use this to enable logging in /tmp/teal-language-server.log
- -- "logging=on",
- },
- filetypes = {
- "teal",
- -- "lua", -- Also works for lua, but you may get type errors that cannot be resolved within lua itself
- },
- root_dir = util.root_pattern("tlconfig.lua", ".git"),
+ cmd = {
+ 'teal-language-server',
+ -- use this to enable logging in /tmp/teal-language-server.log
+ -- "logging=on",
+ },
+ filetypes = {
+ 'teal',
+ -- "lua", -- Also works for lua, but you may get type errors that cannot be resolved within lua itself
+ },
+ root_dir = util.root_pattern('tlconfig.lua', '.git'),
},
docs = {
description = [[
@@ -25,5 +25,5 @@ luarocks install --dev teal-language-server
default_config = {
root_dir = [[root_pattern("tlconfig.lua", ".git")]],
},
- }
+ },
}