Added quite a few additional configs

This commit is contained in:
Rakshit Sinha 2024-11-22 20:20:06 -08:00
parent a4b3cfb24c
commit 13f1959014
12 changed files with 204 additions and 123 deletions

View file

@ -14,6 +14,7 @@ return { -- Autoformat
},
opts = {
notify_on_error = false,
notify_no_formatters = true,
format_on_save = {
lsp_fallback = true,
async = false,
@ -56,14 +57,4 @@ return { -- Autoformat
-- javascript = { "prettierd", "prettier", stop_after_first = true },
},
},
-- Configure Neovim tab settings for Go files
-- vim.api.nvim_create_autocmd('FileType', {
-- pattern = 'go',
-- callback = function()
-- -- vim.bo.expandtab = true -- Use spaces instead of tabs
-- vim.bo.tabstop = 4 -- Display each tab as 4 spaces
-- vim.bo.shiftwidth = 4 -- Indentation size of 4 spaces
-- vim.bo.softtabstop = 4 -- <Tab> key inserts 4 spaces
-- end,
-- }),
}