Skip to content

Commit

Permalink
feat: add awk-language-server (#1665)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilibyte authored Jan 23, 2022
1 parent 71c753f commit cea329c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lua/lspconfig/server_configurations/awk_ls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
if vim.version().major == 0 and vim.version().minor < 7 then
vim.notify('The AWK language server requires nvim >= 0.7', vim.log.levels.ERROR)
return
end

return {
default_config = {
cmd = { 'awk-language-server' },
filetypes = { 'awk' },
single_file_support = true,
},
docs = {
description = [[
https://github.com/Beaglefoot/awk-language-server/
`awk-language-server` can be installed via `npm`:
```sh
npm install -g awk-language-server
```
]],
},
}

0 comments on commit cea329c

Please sign in to comment.