halfbrained / cuda_lsp

LSP Client plugin for CudaText
6 stars 4 forks source link

Server configuration #75

Closed halfbrained closed 3 years ago

halfbrained commented 3 years ago

It recently came to my attention that servers can be configured by the client (options example), per-server can be added easily as a "settings" category in 'lsp_*.json'.

But maybe there should be a way to configure it per-project?

Alexey-T commented 3 years ago

because later I will rewrite proj-manager (will make it in pascal, new options file) let's make a new file lsp_settings.json. per your request. file in the same dir as project-file. and a command 'configure lsp server'

because 2-3 project files may be in one dir, we cannot use name 'lsp_settings.json'. it can be 'orig.lsp.json'. if proj is 'orig.cuda-proj'.

Alexey-T commented 3 years ago

new suggestion for name-- orig.cuda-proj-lsp .

halfbrained commented 3 years ago

added (https://github.com/halfbrained/cuda_lsp/commit/4f1e262604b6b24a8434088f146d159ccbe4c4fb)

Alexey-T commented 3 years ago

great, thanks.