mirror of
https://github.com/neovim/nvim-lspconfig
synced 2024-09-16 14:24:07 +02:00
feat: add tvm_ffi_navigator server (#3261)
Add the [TVM FFI navigator](https://github.com/tqchen/ffi-navigator) server configuration, which is used within the TVM project to jump to C++ definitions from python and vice versa
This commit is contained in:
parent
6c505d4220
commit
462b1d8ba4
1 changed files with 19 additions and 0 deletions
19
lua/lspconfig/server_configurations/tvm_ffi_navigator.lua
Normal file
19
lua/lspconfig/server_configurations/tvm_ffi_navigator.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
local util = require 'lspconfig.util'
|
||||
|
||||
return {
|
||||
default_config = {
|
||||
cmd = { 'python', '-m', 'ffi_navigator.langserver' },
|
||||
filetypes = { 'python', 'cpp' },
|
||||
root_dir = util.root_pattern('pyproject.toml', '.git'),
|
||||
},
|
||||
docs = {
|
||||
description = [[
|
||||
https://github.com/tqchen/ffi-navigator
|
||||
|
||||
The Language Server for FFI calls in TVM to be able jump between python and C++
|
||||
|
||||
FFI navigator can be installed with `pip install ffi-navigator`, buf for more details, please see
|
||||
https://github.com/tqchen/ffi-navigator?tab=readme-ov-file#installation
|
||||
]],
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue