merge confilt resolved

This commit is contained in:
Andrei Stoica 2024-01-25 02:58:32 -05:00
parent e91d840f90
commit ea29d06a91
3 changed files with 13 additions and 4 deletions

View File

@ -4,8 +4,17 @@ local capabilities = require("plugins.configs.lspconfig").capabilities
local lspconfig = require("lspconfig") local lspconfig = require("lspconfig")
-- if you just want default config for the servers then put them in a table -- if you just want default config for the servers then put them in a table
local servers = local servers = {
{ "html", "cssls", "tsserver", "clangd", "docker_compose_language_service", "dockerls", "rust_analyzer", "pyright", "grammarly" } "html",
"cssls",
"tsserver",
"clangd",
"docker_compose_language_service",
"dockerls",
"rust_analyzer",
"pyright",
"grammarly",
}
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig[lsp].setup({ lspconfig[lsp].setup({

View File

@ -7,7 +7,6 @@ end
local b = null_ls.builtins local b = null_ls.builtins
local sources = { local sources = {
-- webdev stuff -- webdev stuff
b.formatting.deno_fmt, -- choosed deno for ts/js files cuz its very fast! b.formatting.deno_fmt, -- choosed deno for ts/js files cuz its very fast!
b.formatting.prettier.with { filetypes = { "html", "markdown", "css" } }, -- so prettier works only on these filetypes b.formatting.prettier.with { filetypes = { "html", "markdown", "css" } }, -- so prettier works only on these filetypes

1
.zshrc
View File

@ -59,6 +59,7 @@ ZSH_THEME="blokkzh"
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=( plugins=(
git git
zsh-fzf-history-search
) )
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh