diff options
author | Josh Rahm <rahm@google.com> | 2024-03-07 18:24:04 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2024-03-07 18:24:04 -0700 |
commit | ca2c98e283107e6fb9244da23ab7ccaacc49269d (patch) | |
tree | a8587d8861134d302a442d47aa1351ddf3af9116 /lua/lsp.lua | |
parent | 7ff38e6a859abf853ed29a46541157741c0d9a65 (diff) | |
download | config.vim-ca2c98e283107e6fb9244da23ab7ccaacc49269d.tar.gz config.vim-ca2c98e283107e6fb9244da23ab7ccaacc49269d.tar.bz2 config.vim-ca2c98e283107e6fb9244da23ab7ccaacc49269d.zip |
Add semantic tokens for haskell lsp
Diffstat (limited to 'lua/lsp.lua')
-rw-r--r-- | lua/lsp.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lua/lsp.lua b/lua/lsp.lua index dca84dd..93159a5 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -29,7 +29,15 @@ configs.hls = { default_config = { cmd = { "haskell-language-server-wrapper", "--lsp" }, filetypes = { "haskell" }, - settings = {}, + settings = { + haskell = { + plugin = { + semanticTokens = { + globalOn = true + } + } + } + }, root_dir = nvim_lsp.util.root_pattern("package.yaml"), } } |