Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make trouble.nvim optional #450

Merged
merged 1 commit into from
Oct 9, 2024
Merged

feat: Make trouble.nvim optional #450

merged 1 commit into from
Oct 9, 2024

Conversation

Uzaaft
Copy link
Contributor

@Uzaaft Uzaaft commented Jun 22, 2024

An attempt at making trouble optiona.
@jackMort What do you think about this approach? If it's alright I can fix the docs as well.

Disclaimer: Couldn't test this since I don't have an openai user anymore

@jackMort jackMort marked this pull request as ready for review October 9, 2024 19:00
@jackMort jackMort merged commit a54716b into jackMort:main Oct 9, 2024
@petobens
Copy link
Contributor

Please revert; this gives the following error:

Failed to run `config` for ChatGPT.nvim

...ocal/share/nvim/lazy/ChatGPT.nvim/lua/chatgpt/config.lua:9: module 'trouble' not found:
^Ino field package.preload['trouble']
^Icache_loader: module 'trouble' not found
^Icache_loader_lib: module 'trouble' not found
^Ino file './trouble.lua'
^Ino file '/usr/share/luajit-2.1/trouble.lua'
^Ino file '/usr/local/share/lua/5.1/trouble.lua'
^Ino file '/usr/local/share/lua/5.1/trouble/init.lua'
^Ino file '/usr/share/lua/5.1/trouble.lua'
^Ino file '/usr/share/lua/5.1/trouble/init.lua'
^Ino file '/home/pedro/.local/share/nvim/lazy-rocks/telescope.nvim/share/lua/5.1/trouble.lua'
^Ino file '/home/pedro/.local/share/nvim/lazy-rocks/telescope.nvim/share/lua/5.1/trouble/init.lua'
^Ino file './trouble.so'
^Ino file '/usr/local/lib/lua/5.1/trouble.so'
^Ino file '/usr/lib/lua/5.1/trouble.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
^Ino file '/home/pedro/.local/share/nvim/lazy-rocks/telescope.nvim/lib/lua/5.1/trouble.so'
^Ino file '/home/pedro/.local/share/nvim/lazy-rocks/telescope.nvim/lib64/lua/5.1/trouble.so'

# stacktrace:
  - /ChatGPT.nvim/lua/chatgpt/config.lua:9 _in_ **default_quickfix_cmd**
  - /ChatGPT.nvim/lua/chatgpt/config.lua:191 _in_ **defaults**
  - /ChatGPT.nvim/lua/chatgpt/config.lua:211 _in_ **setup**
  - /ChatGPT.nvim/lua/chatgpt.lua:24 _in_ **setup**
  - ~/.config/nvim/lua/plugin-config/chatgpt_config.lua:6
  - ~/.config/nvim/lua/plugins.lua:157 _in_ **config**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants