Skip to content

Trouble Setting up configuration in init.vim #687

Answered by wquadri
wquadri asked this question in Q&A
Discussion options

You must be logged in to vote

I changed the following in my init.vim

"Lualine Settings
lua << END
require('lualine').setup()
END

Moved the lua configuration to .config/nvim/lua/lualine.lua

--Lualine settings
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 = {'loca…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wquadri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant