Compare commits
6 commits
30c676e20b
...
77e53c1643
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 77e53c1643 | ||
Bruno BELANYI | 2690dbf352 | ||
Bruno BELANYI | e32ce32860 | ||
Bruno BELANYI | 0af000e52e | ||
Bruno BELANYI | 0fd5fb86b1 | ||
Bruno BELANYI | b8406735ba |
|
@ -120,6 +120,10 @@ in
|
|||
defaultBranch = "main";
|
||||
};
|
||||
|
||||
merge = {
|
||||
conflictStyle = "zdiff3";
|
||||
};
|
||||
|
||||
pull = {
|
||||
# Avoid useless merge commits
|
||||
rebase = true;
|
||||
|
|
|
@ -82,6 +82,8 @@ set background=dark
|
|||
let g:gruvbox_plugin_hi_groups=1
|
||||
" Include filetype integration
|
||||
let g:gruvbox_filetype_hi_groups=1
|
||||
" 24 bit colors
|
||||
set termguicolors
|
||||
" Use my preferred colorscheme
|
||||
colorscheme gruvbox8
|
||||
" }}}
|
||||
|
|
|
@ -38,8 +38,14 @@ null_ls.register({
|
|||
-- Python
|
||||
null_ls.register({
|
||||
null_ls.builtins.diagnostics.flake8.with({
|
||||
-- Only used if available, but prefer pflake8 if available
|
||||
condition = function()
|
||||
return utils.is_executable("flake8") and not utils.is_executable("pflake8")
|
||||
end,
|
||||
}),
|
||||
null_ls.builtins.diagnostics.pyproject_flake8.with({
|
||||
-- Only used if available
|
||||
condition = utils.is_executable_condition("flake8"),
|
||||
condition = utils.is_executable_condition("pflake8"),
|
||||
}),
|
||||
null_ls.builtins.diagnostics.mypy.with({
|
||||
-- Only used if available
|
||||
|
|
|
@ -2,6 +2,15 @@ lua << EOF
|
|||
local telescope = require("telescope")
|
||||
|
||||
telescope.setup({
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-h>"] = "which_key",
|
||||
-- I want the normal readline mappings rather than scrolling
|
||||
["<C-u>"] = false,
|
||||
}
|
||||
}
|
||||
},
|
||||
extensions = {
|
||||
fzf = {
|
||||
fuzzy = true,
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
null-ls-update = import ./vim-plugins-overrides;
|
||||
|
||||
sabnzbd-fix-missing-packages = import ./sabnzbd-fix-missing-dependencies;
|
||||
|
||||
transgui-fix-duplicate-status = import ./transgui-fix-duplicate-status;
|
||||
|
|
17
overlays/vim-plugins-overrides/default.nix
Normal file
17
overlays/vim-plugins-overrides/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
final: prev:
|
||||
let
|
||||
in
|
||||
{
|
||||
# FIXME: update null-ls
|
||||
vimPlugins = prev.vimPlugins.extend (self: super: {
|
||||
null-ls-nvim = super.null-ls-nvim.overrideAttrs (old: {
|
||||
version = "2022-03-11";
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "jose-elias-alvarez";
|
||||
repo = "null-ls.nvim";
|
||||
rev = "1ee1da4970b3c94bed0d0250a353bff633901cd1";
|
||||
sha256 = "sha256-db9d2djNUCZzxIkycUn8Kcu4TS33w55eWxUn2OzcLas=";
|
||||
};
|
||||
});
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue