How to move message on Yaml file to the right of lualine #709
Answered
by
shadmansaleh
jorge-ramirezs
asked this question in
Q&A
-
Hello everyone, My question is how can I move the "Yaml No JSON Schema" message to the right? to lualine_x specifically. I'm using yaml files and every time I open a file I see that message at the left of lualine, even before the mode : this is my setup. I'm using nvim 0.7 lua << EOF
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'auto',
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
disabled_filetypes = {},
always_divide_middle = true,
globalstatus = false,
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {'filename'},
lualine_x = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {
lualine_a = {},
lualine_b = {},
lualine_c = { require'tabline'.tabline_buffers },
lualine_x = { require'tabline'.tabline_tabs },
lualine_y = {},
lualine_z = {},
},
extensions = {'fugitive', 'nerdtree'}
}
EOF Thank you, |
Beta Was this translation helpful? Give feedback.
Answered by
shadmansaleh
Jun 14, 2022
Replies: 1 comment 1 reply
-
Thats not from lualine . Some other plugin you're using is putting this message in front of statusline . check that plugin if they provide a way to do that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jorge-ramirezs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thats not from lualine . Some other plugin you're using is putting this message in front of statusline . check that plugin if they provide a way to do that.