fix(style/format): formated the code
This commit is contained in:
parent
cb397b7f92
commit
9706834ddb
1 changed files with 14 additions and 9 deletions
23
init.lua
23
init.lua
|
@ -48,13 +48,20 @@ local config = {
|
||||||
wrap = false, -- sets vim.opt.wrap
|
wrap = false, -- sets vim.opt.wrap
|
||||||
},
|
},
|
||||||
g = {
|
g = {
|
||||||
mapleader = " ", -- sets vim.g.mapleader
|
-- sets vim.g.mapleader
|
||||||
autoformat_enabled = true, -- enable or disable auto formatting at start (lsp.formatting.format_on_save must be enabled)
|
mapleader = " ",
|
||||||
cmp_enabled = true, -- enable completion at start
|
-- enable or disable auto formatting at start (lsp.formatting.format_on_save must be enabled)
|
||||||
autopairs_enabled = true, -- enable autopairs at start
|
autoformat_enabled = true,
|
||||||
diagnostics_mode = 3, -- set the visibility of diagnostics in the UI (0=off, 1=only show in status line, 2=virtual text off, 3=all on)
|
-- enable completion at start
|
||||||
icons_enabled = true, -- disable icons in the UI (disable if no nerd font is available, requires :PackerSync after changing)
|
cmp_enabled = true,
|
||||||
ui_notifications_enabled = true, -- disable notifications when toggling UI elements
|
-- enable autopairs at start
|
||||||
|
autopairs_enabled = true,
|
||||||
|
-- set the visibility of diagnostics in the UI (0=off, 1=only show in status line, 2=virtual text off, 3=all on)
|
||||||
|
diagnostics_mode = 3,
|
||||||
|
-- disable icons in the UI (disable if no nerd font is available, requires :PackerSync after changing)
|
||||||
|
icons_enabled = true,
|
||||||
|
-- disable notifications when toggling UI elements
|
||||||
|
ui_notifications_enabled = true,
|
||||||
-- Taglist
|
-- Taglist
|
||||||
Tlist_Use_Right_Window = 1,
|
Tlist_Use_Right_Window = 1,
|
||||||
Tlist_GainFocus_On_ToggleOpen = 1,
|
Tlist_GainFocus_On_ToggleOpen = 1,
|
||||||
|
@ -555,8 +562,6 @@ local config = {
|
||||||
},
|
},
|
||||||
{ "stevearc/dressing.nvim" },
|
{ "stevearc/dressing.nvim" },
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Live server
|
-- Live server
|
||||||
{
|
{
|
||||||
"aurum77/live-server.nvim",
|
"aurum77/live-server.nvim",
|
||||||
|
|
Loading…
Reference in a new issue