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

nvim ~/.config/nvim/lua/user/vimtex.lua file is empty #132

Open
G0MITA opened this issue Oct 8, 2024 · 5 comments
Open

nvim ~/.config/nvim/lua/user/vimtex.lua file is empty #132

G0MITA opened this issue Oct 8, 2024 · 5 comments

Comments

@G0MITA
Copy link

G0MITA commented Oct 8, 2024

Hello I am new to vim and coding and I have followed your video to setup vim and all that stuff. But when I try to configure the file nvim ~/.config/nvim/lua/user/vimtex.lua I just see an empty file and nothing I can rewrite. And once I tried to copy paste what was standing in that file in the video, but an error message returned. Now I am really just lost and don't know what to do.

@benbrastmckie
Copy link
Owner

Looks like you have the right file here: https://github.com/G0MITA/.config/blob/master/nvim/lua/neotex/plugins/vimtex.lua

Is that different from what you have locally?

@G0MITA
Copy link
Author

G0MITA commented Oct 9, 2024

So when I press the command in the video I dont see that document.

@G0MITA
Copy link
Author

G0MITA commented Oct 9, 2024

And I also just pressed nvim nvim/lua/neotex/plugins/vimtex.lua and changed the ocular to skim but it still shows me an error in check health at zathura

@benbrastmckie
Copy link
Owner

I made those videos along time ago, so don't really remember all the details and it's a lot of work to go try to figure out what you're talking about.

The way issues work on GitHub is that it's a place for you to provide a detailed description of what you have tried already and where you're hitting trouble in a manner that is clear enough that I can follow as well as being useful to others who might be having similar problems and find it instructive. That way in troubleshooting this issue, we are creating peripheral documentation for this project.

I've been meaning to write more user guide with these kinds of ideas in it, but haven't gotten to it yet,

@a-joshuadaniel
Copy link

I had the same error - here is what I did

  1. navigated to ../nvim/lua/neotex/plugins/vimtex.lua
  2. changed vim.g['vimtex_view_method'] = 'zathura_simple' --> vim.g['vimtex_view_method'] = 'skim'
  3. changed vim.g['vimtex_context_pdf_viewer'] = 'okular' --> vim.g['vimtex_context_pdf_viewer'] = 'skim'

works fine now .

(nvim +checkhealth
shows no errors under VimTeX~)

@benbrastmckie would love to help update the user guides. trying to get used to git. Many thanks

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

No branches or pull requests

3 participants