Supercharge your Haskell experience in neovim!
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
ftplugin
more than once on the same buffer.
This prevented the LSP client from reattaching when
running :e
.ftplugin
more than once on the same buffer.haskell-tools
fields.
This prevents configs from being initialized early if
calling require('haskell-tools')
before setting
vim.g.haskell_tools
.:HlsRestart
command,
to prevent it from retrying indefinitely.curl
output [#322].lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
ftplugin
more than once on the same buffer.haskell-tools
fields.
This prevents configs from being initialized early if
calling require('haskell-tools')
before setting
vim.g.haskell_tools
.:HlsRestart
command,
to prevent it from retrying indefinitely.curl
output [#322].lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
ftplugin
more than once on the same buffer.haskell-tools
fields.
This prevents configs from being initialized early if
calling require('haskell-tools')
before setting
vim.g.haskell_tools
.:HlsRestart
command,
to prevent it from retrying indefinitely.curl
output [#322].lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
haskell-tools
fields.
This prevents configs from being initialized early if
calling require('haskell-tools')
before setting
vim.g.haskell_tools
.:HlsRestart
command,
to prevent it from retrying indefinitely.curl
output [#322].lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
:HlsRestart
command,
to prevent it from retrying indefinitely.curl
output [#322].lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
:HlsRestart
command,
to prevent it from retrying indefinitely.curl
output [#322].lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
curl
output [#322].lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
lspconfig.hls
has been set up,
not other configurations.vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
vim.g.haskell_tools
.vim.g.haskell_tools
is set,
but hasn't been sourced before initialization.curl
silent.cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
cabalFormattingProvider
,
falling back to haskell-language-server's default.plenary.nvim
dependency.
POTENTIALLY BREAKING: This should not break anything, but removing a dependency is worth
a major version bump, just in case.
NOTE: plenary.nvim
is still a dependency of telescope.nvim
.0.9
.
This plugin may still work with Neovim 0.8
, but its compatibility is not tested.vim.g.haskell_tools
can now also be a function that returns
a configuration table.HlsLog
and HtLog
, HtSetLogLevel
commands.haskell-language-server
to log to a temporary file by default,
to prevent huge log files #264.checkhealth
: Report on whether or not vim.g.haskell_tools
is set.lspconfig.hls
configuration.HlsEvalAll
, HtReplToggle
, HtReplQuit
, HtReplLoad
, HtReplReload
foldingRange
LSP client capabilities if nvim-ufo
is installed.nvim-dap
and haskell-debug-adapter
are detected.
This can be disabled by setting the vim.g.haskell_tools.dap.auto_discover
option to false
.<C-r>
) no longer switches to insert mode.haskell-tools.log
API.setup
API.start_or_attach
API.
vim.g.haskell_tools
can be used for configuration instead.haskell-tools
now
automatically initialises and attaches when opening a Haskell or Cabal file.
You can fine-tune this behaviour in the config.haskell-tools.dap.nvim_dap
(copy of the dap
module).hover.disable
has been changed to hover.enable
for consistency.hls_log
(undocumented) has been moved to hls.logfile
.--ghc-option -Wwarn
to cabal repl
command.haskell-language-server > 1.9.0.0
.haskell-language-server
if haskell-language-server-wrapper
is not found #233.hls.on_attach
fails.server_capabilities
for foldingRangeProvider
and selectionRangeProvider
(#223).
Prevents error messages caused by plugins that provide LSP client capabilities that are
not built-in to Neovim.textDocument/hover
docs.tools.repl.prefer
.dap
module potentially leading to errors on warning logs.nvim-dap
with haskell-debug-adapter
,
an experimental debug adapter for Haskell.'builtin'
repl handler (#177).HsProjectFile
: Try stack.yml
first, then fall back to cabal.project
and then to *.cabal
.haskell-language-server
executable is not found (#154).nvim-cmp
is not installed.nvim-lspconfig
(removes the dependency).HlsStart
, HlsStop
and HlsRestart
commands.haskell-language-server
settings JSON from project root, if available.:checkhealth haskell-tools
.textDocument/typeDefinition
.ht.log.set_level(level)
.tools.repl.auto_focus
option.vim.log.levels.WARN
.hls-cabal-plugin
and hls-cabal-fmt
plugins.fast-tags
is installed.vim.lsp.definition
fails.repl.paste_info
and repl.cword_info
functions.<C-b>
keymap to open Hoogle entry in the browser:HsProjectFile
, :HsPackageYaml
and :HsPackageCabal
commands to open project/package files for the current buffer.<C-b>
(open hackage docs in browser).plenary.nvim
)tools.codeLens.autoRefresh = false
).nvim-lspconfig.hls
.