Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions nvim/lua/plugins/language.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions offlineimap/offlineimap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading