mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-17 07:43:21 +00:00
Compare commits
No commits in common. "68346ebedea3f33ca93cf9b77ca69562660faf2d" and "94b58381755b0329e2aa29f0766d4553c84e0aed" have entirely different histories.
68346ebede
...
94b5838175
4 changed files with 5 additions and 20 deletions
|
|
@ -292,7 +292,7 @@
|
||||||
|
|
||||||
- Add lint (luacheck) and formatting (stylua) support for Lua.
|
- Add lint (luacheck) and formatting (stylua) support for Lua.
|
||||||
- Add lint (markdownlint-cli2) support for Markdown.
|
- Add lint (markdownlint-cli2) support for Markdown.
|
||||||
- Add catppuccin integration for Bufferline, Lspsaga.
|
- Add catppuccin integration for Lspsaga.
|
||||||
|
|
||||||
[tebuevd](https://github.com/tebuevd):
|
[tebuevd](https://github.com/tebuevd):
|
||||||
|
|
||||||
|
|
@ -308,7 +308,3 @@
|
||||||
|
|
||||||
- Fix oil config referencing snacks
|
- Fix oil config referencing snacks
|
||||||
- Add [flash.nvim] plugin to `vim.utility.motion.flash-nvim`
|
- Add [flash.nvim] plugin to `vim.utility.motion.flash-nvim`
|
||||||
|
|
||||||
[rrvsh](https://github.com/rrvsh):
|
|
||||||
|
|
||||||
- Fix namespace of python-lsp-server by changing it to python3Packages
|
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
python-lsp-server = {
|
python-lsp-server = {
|
||||||
package = pkgs.python3Packages.python-lsp-server;
|
package = pkgs.python-lsp-server;
|
||||||
lspConfig = ''
|
lspConfig = ''
|
||||||
lspconfig.pylsp.setup{
|
lspconfig.pylsp.setup{
|
||||||
capabilities = capabilities;
|
capabilities = capabilities;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
inherit (lib.nvim.lua) toLuaObject;
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
|
|
||||||
cfg = config.vim.tabline.nvimBufferline;
|
cfg = config.vim.tabline.nvimBufferline;
|
||||||
self = import ./nvim-bufferline.nix {inherit config lib;};
|
self = import ./nvim-bufferline.nix {inherit lib;};
|
||||||
inherit (self.options.vim.tabline.nvimBufferline) mappings;
|
inherit (self.options.vim.tabline.nvimBufferline) mappings;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{lib, ...}: let
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
||||||
inherit (lib.types) enum bool either nullOr str int listOf attrs;
|
inherit (lib.types) enum bool either nullOr str int listOf attrs;
|
||||||
inherit (lib.generators) mkLuaInline;
|
inherit (lib.generators) mkLuaInline;
|
||||||
|
|
@ -27,14 +23,7 @@ in {
|
||||||
setupOpts = mkPluginSetupOption "Bufferline-nvim" {
|
setupOpts = mkPluginSetupOption "Bufferline-nvim" {
|
||||||
highlights = mkOption {
|
highlights = mkOption {
|
||||||
type = either attrs luaInline;
|
type = either attrs luaInline;
|
||||||
default =
|
default = {};
|
||||||
if config.vim.theme.enable && config.vim.theme.name == "catppuccin"
|
|
||||||
then
|
|
||||||
mkLuaInline
|
|
||||||
''
|
|
||||||
require("catppuccin.groups.integrations.bufferline").get()
|
|
||||||
''
|
|
||||||
else {};
|
|
||||||
description = ''
|
description = ''
|
||||||
Overrides the highlight groups of bufferline.
|
Overrides the highlight groups of bufferline.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue