From 82bceebbfd7992b8d4492f956b5df5315671ae80 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 12 Apr 2022 10:56:01 -0500 Subject: [PATCH] Tickles --- common/bin/git-cleanup-local-branches | 5 +++++ common/neovim/lua/lsp.lua | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 common/bin/git-cleanup-local-branches diff --git a/common/bin/git-cleanup-local-branches b/common/bin/git-cleanup-local-branches new file mode 100644 index 0000000..8094c0d --- /dev/null +++ b/common/bin/git-cleanup-local-branches @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +git branch --merged | \ + grep -v "(^\*|master|main|dev)" | \ + xargs git branch -dr diff --git a/common/neovim/lua/lsp.lua b/common/neovim/lua/lsp.lua index 5780a73..1193845 100644 --- a/common/neovim/lua/lsp.lua +++ b/common/neovim/lua/lsp.lua @@ -58,9 +58,8 @@ local lsp_configs = { }, vimls = {}, rust_analyzer = {}, - tsserver = { - - }, + tsserver = {}, + pylsp = {}, denols = { root_dir = lsp.util.root_pattern("deno.json"), },