diff --git a/nvim/lua/plugins/language.lua b/nvim/lua/plugins/language.lua index 48ca7ff..ae5841a 100644 --- a/nvim/lua/plugins/language.lua +++ b/nvim/lua/plugins/language.lua @@ -19,16 +19,10 @@ return { "yaml", }, }, - init = function() - -- Remove stale vim parser from site directory that conflicts with - -- nvim-treesitter managed parsers, causing "Invalid node type 'tab'" error. - -- See: https://github.com/nvim-treesitter/nvim-treesitter/issues/8369 - local stale_parser = vim.fn.stdpath("data") .. "/site/parser/vim.so" - local fs = vim.uv or vim.loop - if fs.fs_stat(stale_parser) then - os.remove(stale_parser) - end - end, + -- Pin before "tab" node type addition that breaks tree-sitter-vim. + -- See: https://github.com/nvim-treesitter/nvim-treesitter/issues/8369 + -- TODO: Remove this pin once tree-sitter-vim ships with "tab" support. + commit = "d0bf5ff", }, { "mason-org/mason.nvim", diff --git a/offlineimap/offlineimap.py b/offlineimap/offlineimap.py index 4e8b420..d46fd1c 100644 --- a/offlineimap/offlineimap.py +++ b/offlineimap/offlineimap.py @@ -6,9 +6,7 @@ def get_keychain_pass(account): process = subprocess.Popen(command, stderr=subprocess.PIPE, stdout=subprocess.PIPE) process.wait() if process.returncode != 0: - raise RuntimeError( - "Error running command: {}".format(process.stderr.read().decode()) - ) + raise RuntimeError("Error running command: {}".format(process.stderr.read().decode())) password_block = process.stdout.read().decode().strip() if password_block: