Giter Club home page Giter Club logo

Comments (3)

lervag avatar lervag commented on August 16, 2024

Could you explain what is lacking in this example?

vimtex/README.md

Lines 63 to 70 in 9665df7

{
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
-- VimTeX configuration goes here
end
}

from vimtex.

jacopoaltieri avatar jacopoaltieri commented on August 16, 2024

I might be wrong (neovim/lua newbie here), but pasting some lines from the "configuration" part of the script (e.g. "syntax enable or let g:vimtex_view_method = 'zathura') will get an error.
I managed to work around it using the "vim.g.vimtex_view_method" formatting, but I had to search for it thoroughly. So even a simple one-line example would be beneficial for the newcomers out there

Btw you can consider the issue closed if needed, and keep up the amazing work!

from vimtex.

lervag avatar lervag commented on August 16, 2024

I might be wrong (neovim/lua newbie here), but pasting some lines from the "configuration" part of the script (e.g. "syntax enable or let g:vimtex_view_method = 'zathura') will get an error.

Ah, yes. Well, I understand that a lot of these things may feel hard or difficult to understand for newbies. I've tried to update the README slightly to make it clearer, and I've suggested a useful and relevant section of the Neovim docs for those who want to configure with Lua.

I hope you find this to be an improvement, and if not, it would be nice if you could help me improve it.

Btw you can consider the issue closed if needed, and keep up the amazing work!

Thanks for the kind words! I'll close the issue as solved with my latest update, but feel free to suggest further improvements.

from vimtex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.