From 14532703bf8a88ab2bcd3d296a0768c9156f7fcf Mon Sep 17 00:00:00 2001 From: Nick Pezza Date: Sat, 30 Sep 2023 19:44:56 -0400 Subject: feat: add ttags server configuration (#2841) --- lua/lspconfig/server_configurations/ttags.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/lspconfig/server_configurations/ttags.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/ttags.lua b/lua/lspconfig/server_configurations/ttags.lua new file mode 100644 index 00000000..d57a7967 --- /dev/null +++ b/lua/lspconfig/server_configurations/ttags.lua @@ -0,0 +1,17 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'ttags', 'lsp' }, + filetypes = { 'ruby', 'rust', 'javascript', 'haskell' }, + root_dir = util.root_pattern '.git', + }, + docs = { + description = [[ +https://github.com/npezza93/ttags + ]], + default_config = { + root_dir = [[root_pattern(".git")]], + }, + }, +} -- cgit v1.2.3-70-g09d2