Compare commits

...

2 Commits

Author SHA1 Message Date
e20bac869b use ruff as lsp 2024-09-11 09:30:46 -04:00
d42f6224f2 fix chezmoi diff pager 2024-09-11 09:29:29 -04:00
4 changed files with 16 additions and 8 deletions

View File

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

View File

@ -7,6 +7,9 @@
export EDITOR=nvim
export SUDO_EDITOR=nvim
# pager
export LESS=-R
# wayland
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland

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"