admin管理员组文章数量:1122846
So, i was trying to use the package in the title, but its not working by nothing. I did how they said to do in the github link, but didnt work. Ive try to use a config exacly as a friend which get to use this pluging, but didnt work too. Then I've try to reinstall from the zero, but it didn't work as well. My haskell and ghci are working, its just a problem which ive being not able to catch :c. Help SOS?
When i open a .hs
file:
`Error detected while processing BufReadPost Autocommands for "`*`":`
`Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:24: Error executing lua: /usr/share/nvim/runtime/filetype.lua:25: BufReadPost Autocommands for "`*`"..FileType Autocomm`
`ands for "*"..function <SNR>1_LoadFTPlugin[19]..script /home/draell/.local/share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua: Vim(runtime):E5113: Error while calling lua chunk: .`
`..haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: attempt to call field 'joinpath' (a nil value)`
`stack traceback:`
`...haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: in main chunk`
`[C]: in function 'require'`
`...m/lazy/haskell-tools.nvim/lua/haskell-tools/internal.lua:11: in main chunk`
`[C]: in function 'require'`
`.../share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua:1: in main chunk`
`[C]: in function 'nvim_cmd'`
`/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>`
`[C]: in function 'nvim_buf_call'`
`/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>`
`stack traceback:`
`[C]: in function 'nvim_cmd'`
`/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>`
`[C]: in function 'nvim_buf_call'`
`/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>`
`stack traceback:`
`[C]: in function 'nvim_buf_call'`
`/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>`
When i use the checkhealth
command:
Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:24: Error executing lua: /usr/share/nvim/runtime/filetype.lua:25: BufReadPost Autocommands for "*"..FileType Autocomm
ands for "*"..function <SNR>1_LoadFTPlugin[19]..script /home/draell/.local/share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua: Vim(runtime):E5113: Error while calling lua chunk: .
..haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: attempt to call field 'joinpath' (a nil value)
stack traceback:
...haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: in main chunk
[C]: in function 'require'
...m/lazy/haskell-tools.nvim/lua/haskell-tools/internal.lua:11: in main chunk
[C]: in function 'require'
.../share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua:1: in main chunk
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
So I'm having problems with my haskell-tools instalation.
update: After updating the nvim, even trying to re-install ghcup, hlsm .. I still not able to use it :P. But the error is now:
Failed to find a HLS version for GHC 9.4.7
Executable names we failed to find: haskell-language-server-9.4.7,haskell-langua
ge-server:
And yeah, i have already have try to downloaded the 9.4.7 version and set it before installing the hls server too.
1: Try to restart
Type number and <Enter> or click with the mouse (q or empty cancels):
So, i was trying to use the package in the title, but its not working by nothing. I did how they said to do in the github link, but didnt work. Ive try to use a config exacly as a friend which get to use this pluging, but didnt work too. Then I've try to reinstall from the zero, but it didn't work as well. My haskell and ghci are working, its just a problem which ive being not able to catch :c. Help SOS?
When i open a .hs
file:
`Error detected while processing BufReadPost Autocommands for "`*`":`
`Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:24: Error executing lua: /usr/share/nvim/runtime/filetype.lua:25: BufReadPost Autocommands for "`*`"..FileType Autocomm`
`ands for "*"..function <SNR>1_LoadFTPlugin[19]..script /home/draell/.local/share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua: Vim(runtime):E5113: Error while calling lua chunk: .`
`..haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: attempt to call field 'joinpath' (a nil value)`
`stack traceback:`
`...haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: in main chunk`
`[C]: in function 'require'`
`...m/lazy/haskell-tools.nvim/lua/haskell-tools/internal.lua:11: in main chunk`
`[C]: in function 'require'`
`.../share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua:1: in main chunk`
`[C]: in function 'nvim_cmd'`
`/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>`
`[C]: in function 'nvim_buf_call'`
`/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>`
`stack traceback:`
`[C]: in function 'nvim_cmd'`
`/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>`
`[C]: in function 'nvim_buf_call'`
`/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>`
`stack traceback:`
`[C]: in function 'nvim_buf_call'`
`/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>`
When i use the checkhealth
command:
Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:24: Error executing lua: /usr/share/nvim/runtime/filetype.lua:25: BufReadPost Autocommands for "*"..FileType Autocomm
ands for "*"..function <SNR>1_LoadFTPlugin[19]..script /home/draell/.local/share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua: Vim(runtime):E5113: Error while calling lua chunk: .
..haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: attempt to call field 'joinpath' (a nil value)
stack traceback:
...haskell-tools.nvim/lua/haskell-tools/config/internal.lua:115: in main chunk
[C]: in function 'require'
...m/lazy/haskell-tools.nvim/lua/haskell-tools/internal.lua:11: in main chunk
[C]: in function 'require'
.../share/nvim/lazy/haskell-tools.nvim/ftplugin/haskell.lua:1: in main chunk
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
So I'm having problems with my haskell-tools instalation.
update: After updating the nvim, even trying to re-install ghcup, hlsm .. I still not able to use it :P. But the error is now:
Failed to find a HLS version for GHC 9.4.7
Executable names we failed to find: haskell-language-server-9.4.7,haskell-langua
ge-server:
And yeah, i have already have try to downloaded the 9.4.7 version and set it before installing the hls server too.
1: Try to restart
Type number and <Enter> or click with the mouse (q or empty cancels):
Share
Improve this question
edited Nov 23, 2024 at 15:58
JJoaoll
asked Nov 22, 2024 at 0:10
JJoaollJJoaoll
111 silver badge2 bronze badges
1 Answer
Reset to default 1Try if just nvim-lspconfig
works fine for haskell on your machine.
It should be sufficient in most of the cases.
本文标签: neovimInstalation problem with mrcjkbhaskelltoolsnvim pluginStack Overflow
版权声明:本文标题:neovim - Instalation problem with mrcjkbhaskell-tools.nvim plugin - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736306422a1932952.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论