Giter VIP home page Giter VIP logo

neovim's Introduction

B1ANK3

Welcome to my profile! :)

neovim's People

Contributors

b1ank3 avatar

Watchers

 avatar

neovim's Issues

Session management breaks with auto-session, barbar and neotree

Auto-session is the session management plugin I use for my neovim setup.
Barbar is the tabline plugin used for showing buffer that are open.
Neotree is a tree plugin.

Auto-session saves all buffers currently being used including Neotree. When restoring, Neotree has an option to clean any invalid neotree buffers from the restore. This makes the previous sessions neotree buffer be deleted.

Not intended behaviour.

Intedended: When restoring from a session, the neotree buffer remains open and continues where it was left off.

The problem with this is now barbar. Barbar has some sort of hook that when a buffer is created, it tries to make it a tab, but Neotree doesn't render in normal buffers so barbar has a fit and an error is thrown when trying to create the tabs from a session restore.

Images:

image
Neovim config with neotree and barbar open.

Then we quit using :qa and start nvim again.
image

By the looks of it, barbar is crashing because it can't find a handle that Neotree has removed on its own.

Workaround:

For now, using auto-session, we can add a pre-save command that closes neotree so it doesn't show up in the next session.
Thus neotree won't show when starting a session.

PS: check terminals as this might also be an issue with them.

Slow parsing of files due to comments with treesitter

There seems to be a problem with treesitter and parsing long files with multi-line comments.

Eg:

I've only briefly tested different configs for trying to remove the lag spikes with treesitter. So far removing 'comment' has drastically improved my scrolling in neovim when editing long files with lots of comments.

I'm adding this issue to look back when the performance tanks again due to some reason.

idk why treesitter comment lsp does this.

Disable autocomplete in telescope

Disable tree-sitter autocomplete in telescope.

When using the keymap (ctrl + ), autocomplete is activated and shows up in telescope stealing focus from the telescope window.

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.