blob: 390dbd8c5da0c8b825ef60f18c1793b7261fa2c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---@brief
--- https://www.osohq.com/docs/develop/local-dev/env-setup
---
--- Oso Polar language server.
---
--- `oso-cloud` can be installed by following the instructions
--- [here](https://www.osohq.com/docs/develop/local-dev/env-setup).
---
--- The default `cmd` assumes that the `oso-cloud` binary can be found in the `$PATH`.
---
--- You may need to configure the filetype for Polar (*.polar) files:
---
--- ```
--- autocmd BufNewFile,BufRead *.polar set filetype=polar
--- ```
---
--- or
---
--- ```lua
--- vim.filetype.add({
--- pattern = {
--- ['.*/*.polar'] = 'polar',
--- },
--- })
---
--- Alternatively, you may use a syntax plugin like https://github.com/osohq/polar.vim
---@type vim.lsp.Config
return {
cmd = { 'oso-cloud', 'lsp' },
filetypes = { 'polar' },
}
|