Skip to content

local signcolumn setting #104

Answered by rockyzhang24
doongjohn asked this question in Q&A
Jan 28, 2022 · 5 comments · 3 replies
Discussion options

You must be logged in to vote

I think we can use neo_tree_buffer_enter event instead of the general vim_buffer_enter event.

  event_handlers = {
    {
      event = "neo_tree_buffer_enter",
      handler = function(arg)
        vim.cmd [[
          setlocal signcolumn=no
        ]]
      end,
    }
  },

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bennypowers
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cseickel
Comment options

@rockyzhang24
Comment options

Answer selected by cseickel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants
Converted from issue

This discussion was converted from issue #101 on January 29, 2022 15:07.