chore(config): use stylua with neoformat to format lua in neovim

main
sudo pacman -Syu 2022-05-27 01:38:25 +07:00
parent e00264a1b2
commit 6d1bcdff1a
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 12 additions and 12 deletions

View File

@ -52,23 +52,23 @@ Plug 'fatih/vim-go'
call plug#end() call plug#end()
lua << EOF lua << EOF
local lualine = require('lualine') local lualine = require("lualine")
local catppuccin = require('catppuccin') local catppuccin = require("catppuccin")
local tree = require('nvim-tree') local tree = require("nvim-tree")
lualine.setup({ lualine.setup({
options = { options = {
icons_enabled = false, icons_enabled = false,
-- theme = 'onedark', -- theme = 'onedark',
-- theme = 'github', -- theme = 'github',
theme = 'catppuccin', theme = "catppuccin",
component_separators = { left = '', right = ''}, component_separators = { left = "", right = "" },
section_separators = { left = '', right = ''}, section_separators = { left = "", right = "" },
} },
}) })
catppuccin.setup({ catppuccin.setup({
transparent_background = true, transparent_background = true,
}) })
tree.setup({}) tree.setup({})