mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-18 16:18:39 +00:00
Compare commits
No commits in common. "23e40da9a4d0eb5c4b15f60e8910da742e827be1" and "2f33732beda2b565741a951c04c7c2c595a2cc6f" have entirely different histories.
23e40da9a4
...
2f33732bed
5 changed files with 9 additions and 33 deletions
|
|
@ -308,7 +308,6 @@
|
||||||
`vim.diagnostics.nvim-lint.linters.*.required_files`.
|
`vim.diagnostics.nvim-lint.linters.*.required_files`.
|
||||||
- Add global function `nvf_lint` under
|
- Add global function `nvf_lint` under
|
||||||
`vim.diagnostics.nvim-lint.lint_function`.
|
`vim.diagnostics.nvim-lint.lint_function`.
|
||||||
- Deprecate `vim.scrollOffset` in favor of `vim.options.scrolloff`.
|
|
||||||
|
|
||||||
[Sc3l3t0n](https://github.com/Sc3l3t0n):
|
[Sc3l3t0n](https://github.com/Sc3l3t0n):
|
||||||
|
|
||||||
|
|
@ -396,10 +395,6 @@
|
||||||
|
|
||||||
[Haskex](https://github.com/haskex):
|
[Haskex](https://github.com/haskex):
|
||||||
|
|
||||||
[solarized-osaka.nvim]: https://github.com/craftzdog/solarized-osaka.nvim
|
|
||||||
|
|
||||||
- Add [solarized-osaka.nvim] theme
|
|
||||||
|
|
||||||
[img-clip.nvim]: https://github.com/hakonharnes/img-clip.nvim
|
[img-clip.nvim]: https://github.com/hakonharnes/img-clip.nvim
|
||||||
|
|
||||||
- Add [img-clip.nvim] plugin in `vim.utility.images.img-clip` with `enable` and
|
- Add [img-clip.nvim] plugin in `vim.utility.images.img-clip` with `enable` and
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
showSignColumn = "signcolumn";
|
showSignColumn = "signcolumn";
|
||||||
|
|
||||||
# 2025-02-07
|
# 2025-02-07
|
||||||
scrollOffset = "scrolloff";
|
scrollOff = "scrolloff";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
imports = concatLists [
|
imports = concatLists [
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,11 @@
|
||||||
inherit (lib.options) mkOption mkEnableOption literalMD;
|
inherit (lib.options) mkOption mkEnableOption literalMD;
|
||||||
inherit (lib.strings) optionalString;
|
inherit (lib.strings) optionalString;
|
||||||
inherit (lib.attrsets) optionalAttrs;
|
inherit (lib.attrsets) optionalAttrs;
|
||||||
inherit (lib.types) enum bool str either;
|
inherit (lib.types) enum bool str int either;
|
||||||
inherit (lib.generators) mkLuaInline;
|
inherit (lib.generators) mkLuaInline;
|
||||||
inherit (lib.nvim.dag) entryAfter;
|
inherit (lib.nvim.dag) entryAfter;
|
||||||
inherit (lib.nvim.binds) pushDownDefault;
|
inherit (lib.nvim.binds) pushDownDefault;
|
||||||
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
inherit (lib.nvim.types) luaInline;
|
inherit (lib.nvim.types) luaInline;
|
||||||
|
|
||||||
cfg = config.vim;
|
cfg = config.vim;
|
||||||
|
|
@ -21,6 +22,12 @@ in {
|
||||||
description = "Hide search highlight so it doesn't stay highlighted";
|
description = "Hide search highlight so it doesn't stay highlighted";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
scrollOffset = mkOption {
|
||||||
|
type = int;
|
||||||
|
default = 8;
|
||||||
|
description = "Start scrolling this number of lines from the top or bottom of the page.";
|
||||||
|
};
|
||||||
|
|
||||||
syntaxHighlighting = mkOption {
|
syntaxHighlighting = mkOption {
|
||||||
type = bool;
|
type = bool;
|
||||||
default = !config.vim.treesitter.highlight.enable;
|
default = !config.vim.treesitter.highlight.enable;
|
||||||
|
|
|
||||||
|
|
@ -212,17 +212,4 @@ in {
|
||||||
'';
|
'';
|
||||||
styles = ["dark" "light" "dark_dimmed" "dark_default" "light_default" "dark_high_contrast" "light_high_contrast" "dark_colorblind" "light_colorblind" "dark_tritanopia" "light_tritanopia"];
|
styles = ["dark" "light" "dark_dimmed" "dark_default" "light_default" "dark_high_contrast" "light_high_contrast" "dark_colorblind" "light_colorblind" "dark_tritanopia" "light_tritanopia"];
|
||||||
};
|
};
|
||||||
solarized-osaka = {
|
|
||||||
setup = {transparent ? false, ...}: ''
|
|
||||||
require("solarized-osaka").setup({
|
|
||||||
transparent = ${boolToString transparent},
|
|
||||||
styles = {
|
|
||||||
comments = { italic = false },
|
|
||||||
keywords = { italic = false },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.cmd.colorscheme("solarized-osaka")
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2248,19 +2248,6 @@
|
||||||
"url": "https://api.github.com/repos/folke/snacks.nvim/tarball/v2.22.0",
|
"url": "https://api.github.com/repos/folke/snacks.nvim/tarball/v2.22.0",
|
||||||
"hash": "1hbm4fnw51qdp0nz83fcxbvnxjq2k57a37w6dp0wz6wkcx7cwxw9"
|
"hash": "1hbm4fnw51qdp0nz83fcxbvnxjq2k57a37w6dp0wz6wkcx7cwxw9"
|
||||||
},
|
},
|
||||||
"solarized-osaka": {
|
|
||||||
"type": "Git",
|
|
||||||
"repository": {
|
|
||||||
"type": "GitHub",
|
|
||||||
"owner": "craftzdog",
|
|
||||||
"repo": "solarized-osaka.nvim"
|
|
||||||
},
|
|
||||||
"branch": "main",
|
|
||||||
"submodules": false,
|
|
||||||
"revision": "f796014c14b1910e08d42cc2077fef34f08e0295",
|
|
||||||
"url": "https://github.com/craftzdog/solarized-osaka.nvim/archive/f796014c14b1910e08d42cc2077fef34f08e0295.tar.gz",
|
|
||||||
"hash": "0jy2hk4fc210jih30ybvisr9pliya1s3nazw4d131vh5k4p1xqi6"
|
|
||||||
},
|
|
||||||
"sqls-nvim": {
|
"sqls-nvim": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue