diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
| commit | f8b5cbe6312b568def1f91d747e2cdb8984fdf2e (patch) | |
| tree | c1baf319b22d8ccc7d3468276b5ba9a26dfa2775 /lsp/alloy_ls.lua | |
| parent | feat: angularls #3746 (diff) | |
| download | nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.gz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.bz2 nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.lz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.xz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.zst nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.zip | |
docs: cleanup
- brief should live at the top of each file
- fix indentation for some docs
Diffstat (limited to 'lsp/alloy_ls.lua')
| -rw-r--r-- | lsp/alloy_ls.lua | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/lsp/alloy_ls.lua b/lsp/alloy_ls.lua index b335b761..e1fe24eb 100644 --- a/lsp/alloy_ls.lua +++ b/lsp/alloy_ls.lua @@ -1,26 +1,26 @@ ---@brief --- --- https://github.com/AlloyTools/org.alloytools.alloy --- --- Alloy is a formal specification language for describing structures and a tool for exploring them. --- --- You may also need to configure the filetype for Alloy (*.als) files: --- --- ``` --- autocmd BufNewFile,BufRead *.als set filetype=alloy --- ``` --- --- or --- --- ```lua --- vim.filetype.add({ --- pattern = { --- ['.*/*.als'] = 'alloy', --- }, --- }) --- ``` --- --- Alternatively, you may use a syntax plugin like https://github.com/runoshun/vim-alloy. +--- https://github.com/AlloyTools/org.alloytools.alloy +--- +--- Alloy is a formal specification language for describing structures and a tool for exploring them. +--- +--- You may also need to configure the filetype for Alloy (*.als) files: +--- +--- ``` +--- autocmd BufNewFile,BufRead *.als set filetype=alloy +--- ``` +--- +--- or +--- +--- ```lua +--- vim.filetype.add({ +--- pattern = { +--- ['.*/*.als'] = 'alloy', +--- }, +--- }) +--- ``` +--- +--- Alternatively, you may use a syntax plugin like https://github.com/runoshun/vim-alloy. return { cmd = { 'alloy', 'lsp' }, filetypes = { 'alloy' }, |
