moar
This commit is contained in:
parent
819633aec1
commit
10c0f99c99
12
init.lua
12
init.lua
|
|
@ -929,6 +929,7 @@ require('lazy').setup({
|
||||||
vim.list_extend(ensure_installed, {
|
vim.list_extend(ensure_installed, {
|
||||||
'stylua', -- Used to format Lua code
|
'stylua', -- Used to format Lua code
|
||||||
'sql-formatter',
|
'sql-formatter',
|
||||||
|
'prettier',
|
||||||
})
|
})
|
||||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||||
|
|
||||||
|
|
@ -977,6 +978,7 @@ require('lazy').setup({
|
||||||
javascript = true,
|
javascript = true,
|
||||||
javascriptreact = true,
|
javascriptreact = true,
|
||||||
python = true,
|
python = true,
|
||||||
|
sql = true,
|
||||||
}
|
}
|
||||||
if disable_filetypes[vim.bo[bufnr].filetype] then
|
if disable_filetypes[vim.bo[bufnr].filetype] then
|
||||||
return nil
|
return nil
|
||||||
|
|
@ -1193,6 +1195,8 @@ require('lazy').setup({
|
||||||
'bash',
|
'bash',
|
||||||
'yaml',
|
'yaml',
|
||||||
'sql',
|
'sql',
|
||||||
|
'hcl',
|
||||||
|
'terraform',
|
||||||
},
|
},
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
|
|
@ -1212,6 +1216,14 @@ require('lazy').setup({
|
||||||
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
|
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
|
||||||
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'towolf/vim-helm',
|
||||||
|
event = 'BufReadPre',
|
||||||
|
config = function()
|
||||||
|
-- This plugin automatically detects helm files (including .tpl)
|
||||||
|
-- and sets the filetype to "helm" instead of "yaml"
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
||||||
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue