Unpersonalize my dots

navigator
marvelman3284 3 years ago
parent f7a1a5dc92
commit 4b3682a343

@ -38,9 +38,9 @@ end
local lspconf = require("lspconfig") local lspconf = require("lspconfig")
-- these langs require same lspconfig so put em all in a table and loop through! -- these langs require same lspconfig so put em all in a table and loop through!
local lspservers = {"html", "cssls", "tsserver", "pyright", "bashls", "clangd", "ccls", "gopls"} local servers = {"html", "cssls", "tsserver", "pyright", "bashls", "clangd", "ccls", "gopls"}
for _, lang in ipairs(lspservers) do for _, lang in ipairs(servers) do
lspconf[lang].setup { lspconf[lang].setup {
on_attach = on_attach, on_attach = on_attach,
root_dir = vim.loop.cwd root_dir = vim.loop.cwd

@ -4,7 +4,6 @@ local use = packer.use
-- using { } for using different branch , loading plugin with certain commands etc -- using { } for using different branch , loading plugin with certain commands etc
return require("packer").startup( return require("packer").startup(
function() function()
use 'neovim/nvim-lsp-config'
use 'williamboman/nvim-lsp-installer' use 'williamboman/nvim-lsp-installer'
use "wbthomason/packer.nvim" use "wbthomason/packer.nvim"
-- color related stuff -- color related stuff
@ -46,7 +45,6 @@ return require("packer").startup(
-- discord rich presence -- discord rich presence
--use "andweeb/presence.nvim" --use "andweeb/presence.nvim"
use "wakatime/vim-wakatime"
use {"lukas-reineke/indent-blankline.nvim", branch = "lua"} use {"lukas-reineke/indent-blankline.nvim", branch = "lua"}
end, end,
{ {

Loading…
Cancel
Save