all repos

init.lua @ 0acc3170fc468c12fc05b9e87264626a2da62210

my nvim config
3 files changed, 4 insertions(+), 3 deletions(-)
add localleader, format code
Author: neoteny ss2316544@gmail.com
Committed at: 2021-11-27 13:32:37 +0200
Parent: d1cf885
M lua/globals.lua

@@ -3,8 +3,8 @@ require("toggleterm.terminal").Terminal:new({ cmd = cmd, hidden = true }):toggle()

end function _G.mkdir() - local dir = vim.fn.expand("%:p:h") + local dir = vim.fn.expand "%:p:h" if vim.fn.isdirectory(dir) == 0 then - vim.fn.mkdir(dir, 'p') + vim.fn.mkdir(dir, "p") end end
M lua/lsp/providers/sqls.lua

@@ -4,7 +4,7 @@ sqls = {

connections = { { driver = "postgresql", - dataSourceName = "host=0.0.0.0 port=5432 user=postgres password=qwerty123 dbname=postgres sslmode=disable" + dataSourceName = "host=0.0.0.0 port=5432 user=postgres password=qwerty123 dbname=postgres sslmode=disable", }, }, },
M lua/options.lua

@@ -1,6 +1,7 @@

local o = vim.opt vim.g.mapleader = " " +vim.g.maplocalleader = "," vim.g.netrw_banner = false -- o.laststatus = 0