Git Product home page Git Product logo

Comments (3)

abecodes avatar abecodes commented on August 11, 2024

Hi @zcysxy
Looks similar to my approach at first glance.
Can you do some test runs?
Start with a completly empty tabout.lua file, that should not throw. If it does, something is off in your configs.
Then just add require'tabout'.setup() to the file, that should also work. If not, maybe tabout is not installed correctly. And then add your config line by line. After adding a line, start nvim. If it fails here, it may be spelling or a comma...or I messed a function up. Let me know what it is.

from tabout.nvim.

zcysxy avatar zcysxy commented on August 11, 2024

Thanks for the reply @abecodes! Yeah, it works with the empty taubout.lua, but a single line require'tabout'.setup() throws the error. I install the plugin with Packer:

    use { 'abecodes/tabout.nvim',
        wants = {'nvim-treesitter'},
        after = {'nvim-cmp'}, }

And PackerStatus and the plugin folder show tabout.nvim correctly. I also tried reinstalling the plugin.

from tabout.nvim.

abecodes avatar abecodes commented on August 11, 2024

Hmm,
I guess its an issue with the load order then.

If you just install it with packer, remove the tabout.lua and run :lua require'tabout'.setup() it should work. If you get the :Tabout completion, it worked and the load order of your scripts is somehow wrong.

Hope that helps 😊

from tabout.nvim.

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.