Skip to content

runtime(haskellcomplete): fix undefined buffer variable. - #19259

Closed
Arkissa wants to merge 1 commit into
vim:masterfrom
Arkissa:fix/haskellcomplete./runtime/ftplugin/haskell.vimComplete
Closed

runtime(haskellcomplete): fix undefined buffer variable.#19259
Arkissa wants to merge 1 commit into
vim:masterfrom
Arkissa:fix/haskellcomplete./runtime/ftplugin/haskell.vimComplete

Conversation

@Arkissa

@Arkissa Arkissa commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

When you edit one .hs file and use omnifunc completion, and opening another .hs file and using omnifunc completion will be report this error.
image

The .vim in runtimepath 'autoload' just source once and then caches it. So, these top-level buffer variables undefined in another buffer.

@dkearns

dkearns commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

Ping @alx741

@dkearns

dkearns commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

@Arkissa, this should actually go through https://github.com/alx741/haskellcomplete.vim

@Arkissa

Arkissa commented Jan 26, 2026

Copy link
Copy Markdown
Contributor Author

@Arkissa, this should actually go through https://github.com/alx741/haskellcomplete.vim

sorry,i will be cc to there.

@Arkissa

Arkissa commented Jan 28, 2026

Copy link
Copy Markdown
Contributor Author

cc: alx741/haskellcomplete.vim#4

@Arkissa

Arkissa commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

@alx741 hasn't been active for several months. I haven't received a response from alx741/haskellcomplete.vim#4 for a week. Should we merge this pr first?

@chrisbra

chrisbra commented Feb 4, 2026

Copy link
Copy Markdown
Member

let me merge it here then. Thanks.

@chrisbra chrisbra closed this in 61044eb Feb 4, 2026
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Feb 5, 2026
…:completingLangExtension.

closes: vim/vim#19259

vim/vim@61044eb

Co-authored-by: Arkissa <mrarkssac@gmail.com>
zeertzjq added a commit to neovim/neovim that referenced this pull request Feb 5, 2026
…:completingLangExtension. (#37712)

closes: vim/vim#19259

vim/vim@61044eb

Co-authored-by: Arkissa <mrarkssac@gmail.com>
MariaSolOs pushed a commit to MariaSolOs/neovim that referenced this pull request Feb 13, 2026
…:completingLangExtension. (neovim#37712)

closes: vim/vim#19259

vim/vim@61044eb

Co-authored-by: Arkissa <mrarkssac@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants