-
Notifications
You must be signed in to change notification settings - Fork 39
LSP Configurations
orbitalquark edited this page Jul 15, 2022
·
1 revision
Here are some example language server configurations for Textadept's LSP module that you can put in your ~/.textadept/init.lua after installing it
require('lsp').server_commands.cpp = function()
return 'cquery', {
cacheDirectory = '/tmp/cquery-cache',
compilationDatabaseDirectory = io.get_project_root(),
progressReportFrequencyMs = -1
}
end
require('lsp').server_commands.haskell = 'haskell-language-server --lsp'
require('lsp').server_commands.lua = 'lua-lsp'
require('lsp').server_commands.python = 'python-language-server'