Modularized all my plugins
This commit is contained in:
parent
a467ba4a69
commit
86b269d5f9
9 changed files with 193 additions and 130 deletions
|
|
@ -107,6 +107,17 @@ return {
|
|||
end,
|
||||
})
|
||||
|
||||
-- Configure Neovim tab settings for Go files [Go indendation]
|
||||
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,
|
||||
})
|
||||
|
||||
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||
-- Change the Diagnostic symbols in the sign column (gutter)
|
||||
-- (not in youtube nvim video)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue