🔧 Updated formatting for .sql files
This commit is contained in:
parent
6a14719784
commit
5dab400cbe
1 changed files with 17 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ vim.api.nvim_create_autocmd({ "BufWritePre" }, {
|
||||||
pattern = { "*", "silent!" },
|
pattern = { "*", "silent!" },
|
||||||
command = ":Neoformat",
|
command = ":Neoformat",
|
||||||
})
|
})
|
||||||
|
-- disable poor neoformatting for .sql files
|
||||||
|
vim.cmd([[let g:neoformat_enabled_sql = [] ]])
|
||||||
--Saves vim session on save
|
--Saves vim session on save
|
||||||
|
|
||||||
-- Marks end of line, space, and trailing space characters
|
-- Marks end of line, space, and trailing space characters
|
||||||
|
|
@ -138,6 +140,21 @@ augroup remember_folds
|
||||||
augroup END
|
augroup END
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
-- configure diagnostic lsp err msgs
|
||||||
|
-- vim.diagnostic.config({
|
||||||
|
-- underline = true,
|
||||||
|
-- signs = true,
|
||||||
|
-- virtual_text = true,
|
||||||
|
-- float = {
|
||||||
|
-- show_header = true,
|
||||||
|
-- source = "always",
|
||||||
|
-- border = "border",
|
||||||
|
-- focusable = false,
|
||||||
|
-- },
|
||||||
|
-- update_in_insert = false, -- default to false
|
||||||
|
-- severity_sort = false, -- default to false
|
||||||
|
-- })
|
||||||
|
|
||||||
-- codeium disable default keybindings
|
-- codeium disable default keybindings
|
||||||
vim.g.codeium_disable_bindings = 1
|
vim.g.codeium_disable_bindings = 1
|
||||||
-- codeium disable by default
|
-- codeium disable by default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue