diff options
| author | christianchiarulli <[email protected]> | 2021-08-01 15:45:49 -0400 | 
|---|---|---|
| committer | christianchiarulli <[email protected]> | 2021-08-01 15:45:49 -0400 | 
| commit | 8e26c44ffd5eda651d2e22b9f8f99e632e8e64e9 (patch) | |
| tree | c9ee88e7014290b80e29421ee6250f2bf04002d3 | |
| parent | 0e05f05e9d584eec3764593a53eeeff2272718a0 (diff) | |
haskell support
| -rw-r--r-- | ftplugin/haskell.lua | 1 | ||||
| -rw-r--r-- | lua/default-config.lua | 16 | 
2 files changed, 17 insertions, 0 deletions
| diff --git a/ftplugin/haskell.lua b/ftplugin/haskell.lua new file mode 100644 index 00000000..374bed1a --- /dev/null +++ b/ftplugin/haskell.lua @@ -0,0 +1 @@ +require("lsp").setup "haskell" diff --git a/lua/default-config.lua b/lua/default-config.lua index 739612af..35c5e06f 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -498,6 +498,22 @@ lvim.lang = {        },      },    }, +  haskell = { +    formatters = { { +      exe = "", +      args = {}, +    } }, +    linters = {}, +    lsp = { +      provider = "hls", +      setup = { +        cmd = {DATA_PATH .. "/lspinstall/haskell/haskell-language-server-wrapper", "--lsp" }, +        on_attach = common_on_attach, +        on_init = common_on_init, +        capabilities = common_capabilities, +      }, +    }, +  },    html = {      formatters = {        { | 
