Fmt
This commit is contained in:
parent
307aa67a9c
commit
06db10650f
|
@ -23,9 +23,9 @@
|
||||||
-- let('g', 'airline_powerline_fonts ', 1)
|
-- let('g', 'airline_powerline_fonts ', 1)
|
||||||
|
|
||||||
-- github-theme
|
-- github-theme
|
||||||
lualine_c = {function()
|
lualine_c = { function()
|
||||||
return vim.fn['nvim_treesitter#statusline'](90)
|
return vim.fn['nvim_treesitter#statusline'](90)
|
||||||
end}
|
end }
|
||||||
|
|
||||||
require('lualine').setup({
|
require('lualine').setup({
|
||||||
options = {
|
options = {
|
||||||
|
@ -34,13 +34,13 @@ require('lualine').setup({
|
||||||
-- section_separators = {'', ''},
|
-- section_separators = {'', ''},
|
||||||
-- component_separators = {'', ''}
|
-- component_separators = {'', ''}
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = {'mode'},
|
lualine_a = { 'mode' },
|
||||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
lualine_b = { 'branch', 'diff', 'diagnostics' },
|
||||||
-- lualine_c = {'filename'},
|
-- lualine_c = {'filename'},
|
||||||
lualine_c = lualine_c,
|
lualine_c = lualine_c,
|
||||||
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
lualine_x = { 'encoding', 'fileformat', 'filetype' },
|
||||||
lualine_y = {'progress'},
|
lualine_y = { 'progress' },
|
||||||
lualine_z = {'location'}
|
lualine_z = { 'location' }
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -39,5 +39,4 @@ parser_config.hare = {
|
||||||
filetype = "ha", -- if filetype does not match the parser name
|
filetype = "ha", -- if filetype does not match the parser name
|
||||||
}
|
}
|
||||||
|
|
||||||
local ft_to_parser = require "nvim-treesitter.parsers".filetype_to_parsername
|
vim.treesitter.language.register('hare', 'hare')
|
||||||
ft_to_parser.hare = "hare"
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user