huge updates

This commit is contained in:
sankalp committed 2024-08-19 03:32:26 +05:45
1 parent ca26b00c27
commit 18bd0cb00b
49 files changed
+4210 -2140

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
local mason = require('mason')
local mason_lspconfig = require('mason-lspconfig')
local mason_tool_installer = require('mason-tool-installer')
-- enable mason and configure icons
mason.setup({
ui = {
border = 'rounded',
icons = {
package_installed = '✓',
package_pending = '➜',
package_uninstalled = '✗',
},
},
})
mason_lspconfig.setup({
-- list of servers for mason to install
ensure_installed = {
'tsserver',
'html',
'cssls',
'tailwindcss',
'svelte',
'lua_ls',
'pyright',
'jdtls',
'bashls',
'jsonls',
'clangd',
'emmet_ls',
'prismals',
},
})
mason_tool_installer.setup({
ensure_installed = {
'prettier', -- prettier formatter
'biome', -- js formatter
'stylua', -- lua formatter
'black', -- python formatter
'isort', -- python formatter
'clang-format', -- c/c++ formatter
'pylint',
'eslint_d',
},
})