more nixvim progress
This commit is contained in:
parent
d1adefae9d
commit
318316c05b
5 changed files with 237 additions and 5 deletions
|
@ -12,8 +12,6 @@
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
defaultEditor = true;
|
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
#Set leader to space, and localleader to \
|
#Set leader to space, and localleader to \
|
||||||
mapleader = " ";
|
mapleader = " ";
|
||||||
|
|
189
modules/nixvim/icons.nix
Normal file
189
modules/nixvim/icons.nix
Normal file
|
@ -0,0 +1,189 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
options.nvix.icons = lib.mkOption {
|
||||||
|
type = lib.types.attrs;
|
||||||
|
default = {};
|
||||||
|
};
|
||||||
|
config.nvix.icons = {
|
||||||
|
kind = {
|
||||||
|
Array = "";
|
||||||
|
Boolean = "";
|
||||||
|
Class = "";
|
||||||
|
Color = "";
|
||||||
|
Constant = "";
|
||||||
|
Constructor = "";
|
||||||
|
Enum = "";
|
||||||
|
EnumMember = "";
|
||||||
|
Event = "";
|
||||||
|
Field = "";
|
||||||
|
File = "";
|
||||||
|
Folder = "";
|
||||||
|
Function = "";
|
||||||
|
Interface = "";
|
||||||
|
Key = "";
|
||||||
|
Keyword = "";
|
||||||
|
Method = "";
|
||||||
|
Module = "";
|
||||||
|
Namespace = "";
|
||||||
|
Null = "ﳠ";
|
||||||
|
Number = "";
|
||||||
|
Object = "";
|
||||||
|
Operator = "";
|
||||||
|
Package = "";
|
||||||
|
Property = "";
|
||||||
|
Reference = "";
|
||||||
|
Snippet = "";
|
||||||
|
String = "";
|
||||||
|
Struct = "";
|
||||||
|
Text = "";
|
||||||
|
TypeParameter = "";
|
||||||
|
Unit = "";
|
||||||
|
Value = "";
|
||||||
|
Variable = "";
|
||||||
|
Copilot = "";
|
||||||
|
TabNine = "⌬";
|
||||||
|
};
|
||||||
|
git = {
|
||||||
|
LineAdded = "";
|
||||||
|
LineModified = "";
|
||||||
|
LineRemoved = "";
|
||||||
|
FileDeleted = "";
|
||||||
|
FileIgnored = "";
|
||||||
|
FileRenamed = "";
|
||||||
|
FileStaged = "✓";
|
||||||
|
FileUnmerged = "";
|
||||||
|
FileMerged = "";
|
||||||
|
FileUnstaged = "";
|
||||||
|
FileUntracked = "◌";
|
||||||
|
FileChanged = "";
|
||||||
|
Copied = "";
|
||||||
|
Ignored = "";
|
||||||
|
Diff = "";
|
||||||
|
Repo = "";
|
||||||
|
Octoface = "";
|
||||||
|
Branch = "";
|
||||||
|
};
|
||||||
|
ui = {
|
||||||
|
lazy = {
|
||||||
|
ft = "";
|
||||||
|
lazy = " ";
|
||||||
|
loaded = "";
|
||||||
|
not_loaded = "";
|
||||||
|
};
|
||||||
|
ArrowCircleDown = "";
|
||||||
|
ArrowCircleLeft = "";
|
||||||
|
ArrowCircleRight = "";
|
||||||
|
ArrowCircleUp = "";
|
||||||
|
BoldArrowDown = "";
|
||||||
|
BoldArrowLeft = "";
|
||||||
|
BoldArrowRight = "";
|
||||||
|
BoldArrowUp = "";
|
||||||
|
BoldClose = "";
|
||||||
|
BoldDividerLeft = "";
|
||||||
|
BoldDividerRight = "";
|
||||||
|
BoldLineLeft = "▎";
|
||||||
|
BookMark = "";
|
||||||
|
BoxChecked = "";
|
||||||
|
Bug = "";
|
||||||
|
Stacks = "";
|
||||||
|
Scopes = "";
|
||||||
|
Watches = "";
|
||||||
|
DebugConsole = "";
|
||||||
|
Calendar = "";
|
||||||
|
Check = "";
|
||||||
|
ChevronRight = ">";
|
||||||
|
ChevronShortDown = "";
|
||||||
|
ChevronShortLeft = "";
|
||||||
|
ChevronShortRight = "";
|
||||||
|
ChevronShortUp = "";
|
||||||
|
Circle = "";
|
||||||
|
Close = "";
|
||||||
|
CloudDownload = "";
|
||||||
|
Code = "";
|
||||||
|
Comment = "";
|
||||||
|
Dashboard = "";
|
||||||
|
DividerLeft = "";
|
||||||
|
DividerRight = "";
|
||||||
|
DoubleChevronRight = "»";
|
||||||
|
Ellipsis = "";
|
||||||
|
EmptyFolder = "";
|
||||||
|
EmptyFolderOpen = "";
|
||||||
|
ExitCircle = "";
|
||||||
|
File = "";
|
||||||
|
FileSymlink = "";
|
||||||
|
Files = "";
|
||||||
|
FileRename = "";
|
||||||
|
FindFile = "";
|
||||||
|
FindText = "";
|
||||||
|
Fire = "";
|
||||||
|
Folder = "";
|
||||||
|
FolderOpen = "";
|
||||||
|
FolderSymlink = "";
|
||||||
|
Forward = "";
|
||||||
|
Gear = "";
|
||||||
|
History = "";
|
||||||
|
Lightbulb = "";
|
||||||
|
LineLeft = "▏";
|
||||||
|
LineMiddle = "│";
|
||||||
|
List = "";
|
||||||
|
Lock = "";
|
||||||
|
NewFile = "";
|
||||||
|
Note = "";
|
||||||
|
Package = "";
|
||||||
|
Pencil = "";
|
||||||
|
Plus = "";
|
||||||
|
Project = "";
|
||||||
|
Search = "";
|
||||||
|
SignIn = "";
|
||||||
|
SignOut = "";
|
||||||
|
Tab = "";
|
||||||
|
Table = "";
|
||||||
|
Target = "";
|
||||||
|
Telescope = "";
|
||||||
|
Text = "";
|
||||||
|
Tree = "";
|
||||||
|
Triangle = "";
|
||||||
|
TriangleShortArrowDown = "";
|
||||||
|
TriangleShortArrowLeft = "";
|
||||||
|
TriangleShortArrowRight = "";
|
||||||
|
TriangleShortArrowUp = "";
|
||||||
|
};
|
||||||
|
diagnostics = {
|
||||||
|
BoldError = "";
|
||||||
|
Error = "";
|
||||||
|
BoldWarning = "";
|
||||||
|
Warning = "";
|
||||||
|
BoldInformation = "";
|
||||||
|
Information = "";
|
||||||
|
BoldQuestion = "";
|
||||||
|
Question = "";
|
||||||
|
BoldHint = "";
|
||||||
|
Hint = "";
|
||||||
|
Debug = "";
|
||||||
|
Trace = "✎";
|
||||||
|
};
|
||||||
|
misc = {
|
||||||
|
Robot = "ﮧ";
|
||||||
|
Squirrel = "";
|
||||||
|
Tag = "";
|
||||||
|
Watch = "";
|
||||||
|
Smiley = "";
|
||||||
|
Package = "";
|
||||||
|
CircuitBoard = "";
|
||||||
|
LualineFmt = "";
|
||||||
|
};
|
||||||
|
nvtree_chad = {
|
||||||
|
default = "";
|
||||||
|
symlink = "";
|
||||||
|
folder = {
|
||||||
|
default = "";
|
||||||
|
empty = "";
|
||||||
|
empty_open = "";
|
||||||
|
open = "";
|
||||||
|
symlink = "";
|
||||||
|
symlink_open = "";
|
||||||
|
arrow_open = "";
|
||||||
|
arrow_closed = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,9 +3,9 @@
|
||||||
opts = {
|
opts = {
|
||||||
# Show line numbers
|
# Show line numbers
|
||||||
number = true;
|
number = true;
|
||||||
# You can also add relative line numbers, to help with jumping.
|
relativenumber = true;
|
||||||
# Experiment for yourself to see if you like it!
|
|
||||||
#relativenumber = true
|
shiftwidth = 2;
|
||||||
|
|
||||||
# Enable mouse mode, can be useful for resizing splits for example!
|
# Enable mouse mode, can be useful for resizing splits for example!
|
||||||
mouse = "a";
|
mouse = "a";
|
||||||
|
|
40
modules/nixvim/plugins/blink.nix
Normal file
40
modules/nixvim/plugins/blink.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.nixvim = {
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
gh
|
||||||
|
wordnet
|
||||||
|
glab
|
||||||
|
];
|
||||||
|
|
||||||
|
extraPlugins = [
|
||||||
|
];
|
||||||
|
|
||||||
|
plugins = {
|
||||||
|
blink-cmp = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
lazyLoad.settings.event = [
|
||||||
|
"InsertEnter"
|
||||||
|
"CmdlineEnter"
|
||||||
|
];
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
keymap.preset = "super-tab";
|
||||||
|
completion = {
|
||||||
|
ghost_test.enabled = true;
|
||||||
|
|
||||||
|
documentation = {
|
||||||
|
auto_show = true;
|
||||||
|
|
||||||
|
window.border = "rounded";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
imports = [
|
||||||
|
./blink.nix
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue