Skip to content

Commit

Permalink
feat: add ttags server configuration (#2841)
Browse files Browse the repository at this point in the history
  • Loading branch information
npezza93 authored Sep 30, 2023
1 parent 50fcf96 commit 1453270
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lua/lspconfig/server_configurations/ttags.lua
Original file line number Diff line number Diff line change
@@ -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")]],
},
},
}

0 comments on commit 1453270

Please sign in to comment.