Compare commits

...

3 Commits

Author SHA1 Message Date
2f1e2a43e4 ue pazi (autojump) if available 2024-09-11 09:39:52 -04:00
7590018f31 use ruff as lsp 2024-09-11 09:34:27 -04:00
2423aa9c2f fix chezmoi diff pager 2024-09-11 09:34:24 -04:00
4 changed files with 17 additions and 8 deletions

View File

@ -2,3 +2,5 @@ sourceDir: ~/repos/dotfiles
merge:
command: vim
args: "-d"
diff:
pager: "less -R"

View File

@ -5,5 +5,7 @@
"$HOME/.cargo/**",
"$HOME/.rustup/**"
],
"rust-analyzer.server.path": "rust-analyzer"
"rust-analyzer.server.path": "rust-analyzer",
"ruff.nativeServer": true,
"ruff.nativeBinaryPath": "/usr/bin/ruff"
}

View File

@ -65,7 +65,8 @@ require'nvim-treesitter.configs'.setup {
}
-- Install coc extensions
vim.g.coc_global_extensions = {'coc-json', 'coc-lua', 'coc-pyright', 'coc-rust-analyzer', 'coc-yaml', 'coc-eslint'}
vim.g.coc_global_extensions = {'coc-json', 'coc-lua', 'coc-rust-analyzer',
'coc-yaml', 'coc-eslint', '@yaegassy/coc-ruff'}
-- Turn on nice things
vim.opt.clipboard = "unnamedplus"

View File

@ -71,3 +71,7 @@ bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
if command -v pazi &>/dev/null; then
eval "$(pazi init zsh)" # or 'bash'
fi