edkolev/tmuxline.vim

Starting nvim resets the snapshot configuration

Closed this issue · 1 comments

llgdd commented

Everything is cool and according to my tmuxline snapshot (not much, just the full preset):

# This tmux statusbar config was created by tmuxline.vim
# on чт, 18 лют 2021

set -g status-justify "centre"
set -g status "on"
set -g status-left-style "none"
set -g message-command-style "fg=#C2D94C,bg=#304357"
set -g status-right-style "none"
set -g pane-active-border-style "fg=#C2D94C"
set -g status-style "none,bg=#0A0E14"
set -g message-style "fg=#C2D94C,bg=#304357"
set -g pane-border-style "fg=#304357"
set -g status-right-length "100"
set -g status-left-length "100"
setw -g window-status-activity-style "none,fg=#C2D94C,bg=#0A0E14"
setw -g window-status-separator ""
setw -g window-status-style "none,fg=#B3B1AD,bg=#0A0E14"
set -g status-left "#[fg=#3D424D,bg=#C2D94C] #S #[fg=#C2D94C,bg=#304357,nobold,nounderscore,noitalics]#[fg=#C2D94C,bg=#304357] #F #[fg=#304357,bg=#0A0E14,nobold,nounderscore,noitalics]#[fg=#B3B1AD,bg=#0A0E14] #W #[fg=#0A0E14,bg=#0A0E14,nobold,nounderscore,noitalics]"
set -g status-right "#[fg=#0A0E14,bg=#0A0E14,nobold,nounderscore,noitalics]#[fg=#B3B1AD,bg=#0A0E14] %a #[fg=#304357,bg=#0A0E14,nobold,nounderscore,noitalics]#[fg=#C2D94C,bg=#304357] %b %d  %R #[fg=#C2D94C,bg=#304357,nobold,nounderscore,noitalics]#[fg=#3D424D,bg=#C2D94C] #H "
setw -g window-status-format "#[fg=#0A0E14,bg=#0A0E14,nobold,nounderscore,noitalics]#[default] #I  #W #[fg=#0A0E14,bg=#0A0E14,nobold,nounderscore,noitalics]"
setw -g window-status-current-format "#[fg=#0A0E14,bg=#304357,nobold,nounderscore,noitalics]#[fg=#C2D94C,bg=#304357] #I  #W #[fg=#304357,bg=#0A0E14,nobold,nounderscore,noitalics]"

Screenshot from 2021-02-19 00-19-47

But when I start nvim, it resets this configuration to the default one:
Screenshot from 2021-02-19 00-20-12

Is nvim not supported or is it something Iʼm missing which should prevent nvim from doing this?

llgdd commented

Nevermind, my bad. Forgot to keep my tmuxline preset under ~/.config/nvim/init.vim, closing the issue now.