Skip to content

Commit

Permalink
feat: added harper_ls support
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Feb 8, 2024
1 parent 7eed8b2 commit a3801f4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lua/lspconfig/server_configurations/harper_ls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'harper-ls', '--stdio' },
filetypes = { 'markdown', 'rust', 'typescript', 'typescriptreact', 'javascript', 'python', 'go', 'c', 'cpp', 'ruby', 'swift', 'csharp', 'toml', 'lua' },
root_dir = util.find_git_ancestor,
single_file_support = true,
settings = {},
},
docs = {
description = [[
https://github.com/chilipepperhott/harper_ls
The language server for Harper, the slim, clean language checker for developers.
As of right now, there are no settings to be configured for `harper_ls`.
]],
default_config = {
root_dir = [[bufdir]],
},
},
}

0 comments on commit a3801f4

Please sign in to comment.