mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-26 06:02:23 +00:00
break stuff
This commit is contained in:
parent
6096e7f94f
commit
6d51524064
31 changed files with 537 additions and 1152 deletions
|
@ -21,9 +21,10 @@ white = "#a89984"
|
||||||
yellow = "#d79921"
|
yellow = "#d79921"
|
||||||
|
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = "#282828"
|
background = "#1d2021"
|
||||||
bg_darker = "#1d2021"
|
#background = "#282828"
|
||||||
bg_lighter = "#3c3836"
|
#bg_darker = "#1d2021"
|
||||||
|
#bg_lighter = "#3c3836"
|
||||||
foreground = "#ebdbb2"
|
foreground = "#ebdbb2"
|
||||||
|
|
||||||
[cursor]
|
[cursor]
|
||||||
|
@ -33,8 +34,11 @@ unfocused_hollow = true
|
||||||
blinking = "Never"
|
blinking = "Never"
|
||||||
shape = "Block"
|
shape = "Block"
|
||||||
|
|
||||||
|
[env]
|
||||||
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 12
|
size = 14
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Fira Code"
|
family = "Fira Code"
|
||||||
|
@ -171,11 +175,11 @@ mods = "Control|Shift|Alt"
|
||||||
[mouse]
|
[mouse]
|
||||||
hide_when_typing = true
|
hide_when_typing = true
|
||||||
|
|
||||||
[mouse.double_click]
|
#[mouse.double_click]
|
||||||
threshold = 300
|
#threshold = 300
|
||||||
|
|
||||||
[mouse.triple_click]
|
#[mouse.triple_click]
|
||||||
threshold = 300
|
#threshold = 300
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
dynamic_padding = true
|
dynamic_padding = true
|
||||||
|
@ -183,5 +187,5 @@ dynamic_title = true
|
||||||
opacity = 1
|
opacity = 1
|
||||||
|
|
||||||
[window.padding]
|
[window.padding]
|
||||||
x = 20
|
x = 10
|
||||||
y = 20
|
y = 10
|
||||||
|
|
460
niri/.config/niri/config.kdl
Normal file
460
niri/.config/niri/config.kdl
Normal file
|
@ -0,0 +1,460 @@
|
||||||
|
// This config is in the KDL format: https://kdl.dev
|
||||||
|
// "/-" comments out the following node.
|
||||||
|
// Check the wiki for a full description of the configuration:
|
||||||
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Overview
|
||||||
|
|
||||||
|
// Input device configuration.
|
||||||
|
// Find the full list of options on the wiki:
|
||||||
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Input
|
||||||
|
input {
|
||||||
|
keyboard {
|
||||||
|
xkb {
|
||||||
|
// You can set rules, model, layout, variant and options.
|
||||||
|
// For more information, see xkeyboard-config(7).
|
||||||
|
|
||||||
|
// For example:
|
||||||
|
// layout "us,ru"
|
||||||
|
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Next sections include libinput settings.
|
||||||
|
// Omitting settings disables them, or leaves them at their default values.
|
||||||
|
touchpad {
|
||||||
|
tap
|
||||||
|
//dwt
|
||||||
|
// dwtp
|
||||||
|
natural-scroll
|
||||||
|
// accel-speed 0.2
|
||||||
|
// accel-profile "flat"
|
||||||
|
}
|
||||||
|
|
||||||
|
mouse {
|
||||||
|
// natural-scroll
|
||||||
|
// accel-speed 0.2
|
||||||
|
// accel-profile "flat"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Uncomment this to make the mouse warp to the center of newly focused windows.
|
||||||
|
// warp-mouse-to-focus
|
||||||
|
|
||||||
|
// Focus windows and outputs automatically when moving the mouse into them.
|
||||||
|
focus-follows-mouse
|
||||||
|
}
|
||||||
|
|
||||||
|
// You can configure outputs by their name, which you can find
|
||||||
|
// by running `niri msg outputs` while inside a niri instance.
|
||||||
|
// The built-in laptop monitor is usually called "eDP-1".
|
||||||
|
// Find more information on the wiki:
|
||||||
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
|
||||||
|
// Remember to uncomment the node by removing "/-"!
|
||||||
|
/-output "eDP-1" {
|
||||||
|
// Uncomment this line to disable this output.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// Resolution and, optionally, refresh rate of the output.
|
||||||
|
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
|
||||||
|
// If the refresh rate is omitted, niri will pick the highest refresh rate
|
||||||
|
// for the resolution.
|
||||||
|
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
|
||||||
|
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
|
||||||
|
mode "1920x1080@120.030"
|
||||||
|
|
||||||
|
// Scale is a floating-point number, but at the moment only integer values work.
|
||||||
|
scale 2.0
|
||||||
|
|
||||||
|
// Transform allows to rotate the output counter-clockwise, valid values are:
|
||||||
|
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
|
||||||
|
transform "normal"
|
||||||
|
|
||||||
|
// Position of the output in the global coordinate space.
|
||||||
|
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
|
||||||
|
// The cursor can only move between directly adjacent outputs.
|
||||||
|
// Output scale and rotation has to be taken into account for positioning:
|
||||||
|
// outputs are sized in logical, or scaled, pixels.
|
||||||
|
// For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
|
||||||
|
// so to put another output directly adjacent to it on the right, set its x to 1920.
|
||||||
|
// If the position is unset or results in an overlap, the output is instead placed
|
||||||
|
// automatically.
|
||||||
|
position x=1280 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
// Settings that influence how windows are positioned and sized.
|
||||||
|
// Find more information on the wiki:
|
||||||
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
|
||||||
|
layout {
|
||||||
|
// Set gaps around windows in logical pixels.
|
||||||
|
gaps 16
|
||||||
|
|
||||||
|
// When to center a column when changing focus, options are:
|
||||||
|
// - "never", default behavior, focusing an off-screen column will keep at the left
|
||||||
|
// or right edge of the screen.
|
||||||
|
// - "always", the focused column will always be centered.
|
||||||
|
// - "on-overflow", focusing a column will center it if it doesn't fit
|
||||||
|
// together with the previously focused column.
|
||||||
|
center-focused-column "on-overflow"
|
||||||
|
|
||||||
|
// You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
|
||||||
|
preset-column-widths {
|
||||||
|
// Proportion sets the width as a fraction of the output width, taking gaps into account.
|
||||||
|
// For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
|
||||||
|
// The default preset widths are 1/3, 1/2 and 2/3 of the output.
|
||||||
|
proportion 0.25
|
||||||
|
proportion 0.33333
|
||||||
|
proportion 0.5
|
||||||
|
proportion 0.66667
|
||||||
|
|
||||||
|
// Fixed sets the width in logical pixels exactly.
|
||||||
|
// fixed 1920
|
||||||
|
}
|
||||||
|
|
||||||
|
// You can change the default width of the new windows.
|
||||||
|
default-column-width { proportion 0.5; }
|
||||||
|
// If you leave the brackets empty, the windows themselves will decide their initial width.
|
||||||
|
// default-column-width {}
|
||||||
|
|
||||||
|
// By default focus ring and border are rendered as a solid background rectangle
|
||||||
|
// behind windows. That is, they will show up through semitransparent windows.
|
||||||
|
// This is because windows using client-side decorations can have an arbitrary shape.
|
||||||
|
//
|
||||||
|
// If you don't like that, you should uncomment `prefer-no-csd` below.
|
||||||
|
// Niri will draw focus ring and border *around* windows that agree to omit their
|
||||||
|
// client-side decorations.
|
||||||
|
//
|
||||||
|
// Alternatively, you can override it with a window rule called
|
||||||
|
// `draw-border-with-background`.
|
||||||
|
|
||||||
|
// You can change how the focus ring looks.
|
||||||
|
focus-ring {
|
||||||
|
// Uncomment this line to disable the focus ring.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// How many logical pixels the ring extends out from the windows.
|
||||||
|
width 4
|
||||||
|
|
||||||
|
// Colors can be set in a variety of ways:
|
||||||
|
// - CSS named colors: "red"
|
||||||
|
// - RGB hex: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa"
|
||||||
|
// - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
|
||||||
|
|
||||||
|
// Color of the ring on the active monitor.
|
||||||
|
active-color "#7fc8ff"
|
||||||
|
|
||||||
|
// Color of the ring on inactive monitors.
|
||||||
|
inactive-color "#505050"
|
||||||
|
|
||||||
|
// You can also use gradients. They take precedence over solid colors.
|
||||||
|
// Gradients are rendered the same as CSS linear-gradient(angle, from, to).
|
||||||
|
// The angle is the same as in linear-gradient, and is optional,
|
||||||
|
// defaulting to 180 (top-to-bottom gradient).
|
||||||
|
// You can use any CSS linear-gradient tool on the web to set these up.
|
||||||
|
//
|
||||||
|
// active-gradient from="#80c8ff" to="#bbddff" angle=45
|
||||||
|
|
||||||
|
// You can also color the gradient relative to the entire view
|
||||||
|
// of the workspace, rather than relative to just the window itself.
|
||||||
|
// To do that, set relative-to="workspace-view".
|
||||||
|
//
|
||||||
|
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
||||||
|
}
|
||||||
|
|
||||||
|
// You can also add a border. It's similar to the focus ring, but always visible.
|
||||||
|
border {
|
||||||
|
// The settings are the same as for the focus ring.
|
||||||
|
// If you enable the border, you probably want to disable the focus ring.
|
||||||
|
off
|
||||||
|
|
||||||
|
width 4
|
||||||
|
active-color "#ffc87f"
|
||||||
|
inactive-color "#505050"
|
||||||
|
|
||||||
|
// active-gradient from="#ffbb66" to="#ffc880" angle=45 relative-to="workspace-view"
|
||||||
|
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Struts shrink the area occupied by windows, similarly to layer-shell panels.
|
||||||
|
// You can think of them as a kind of outer gaps. They are set in logical pixels.
|
||||||
|
// Left and right struts will cause the next window to the side to always be visible.
|
||||||
|
// Top and bottom struts will simply add outer gaps in addition to the area occupied by
|
||||||
|
// layer-shell panels and regular gaps.
|
||||||
|
struts {
|
||||||
|
// left 64
|
||||||
|
// right 64
|
||||||
|
// top 64
|
||||||
|
// bottom 64
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add lines like this to spawn processes at startup.
|
||||||
|
// Note that running niri as a session supports xdg-desktop-autostart,
|
||||||
|
// which may be more convenient to use.
|
||||||
|
// spawn-at-startup "alacritty" "-e" "fish"
|
||||||
|
|
||||||
|
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||||
|
// If the client will specifically ask for CSD, the request will be honored.
|
||||||
|
// Additionally, clients will be informed that they are tiled, removing some rounded corners.
|
||||||
|
prefer-no-csd
|
||||||
|
|
||||||
|
// You can change the path where screenshots are saved.
|
||||||
|
// A ~ at the front will be expanded to the home directory.
|
||||||
|
// The path is formatted with strftime(3) to give you the screenshot date and time.
|
||||||
|
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
||||||
|
|
||||||
|
// You can also set this to null to disable saving screenshots to disk.
|
||||||
|
// screenshot-path null
|
||||||
|
|
||||||
|
// Animation settings.
|
||||||
|
// The wiki explains how to configure individual animations:
|
||||||
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Animations
|
||||||
|
animations {
|
||||||
|
// Uncomment to turn off all animations.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// Slow down all animations by this factor. Values below 1 speed them up instead.
|
||||||
|
// slowdown 3.0
|
||||||
|
}
|
||||||
|
|
||||||
|
// Window rules let you adjust behavior for individual windows.
|
||||||
|
// Find more information on the wiki:
|
||||||
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules
|
||||||
|
|
||||||
|
// Work around WezTerm's initial configure bug
|
||||||
|
// by setting an empty default-column-width.
|
||||||
|
window-rule {
|
||||||
|
// This regular expression is intentionally made as specific as possible,
|
||||||
|
// since this is the default config, and we want no false positives.
|
||||||
|
// You can get away with just app-id="wezterm" if you want.
|
||||||
|
match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
||||||
|
default-column-width {}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Example: block out two password managers from screen capture.
|
||||||
|
// (This example rule is commented out with a "/-" in front.)
|
||||||
|
/-window-rule {
|
||||||
|
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
|
||||||
|
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
||||||
|
|
||||||
|
block-out-from "screen-capture"
|
||||||
|
|
||||||
|
// Use this instead if you want them visible on third-party screenshot tools.
|
||||||
|
// block-out-from "screencast"
|
||||||
|
}
|
||||||
|
|
||||||
|
binds {
|
||||||
|
// Keys consist of modifiers separated by + signs, followed by an XKB key name
|
||||||
|
// in the end. To find an XKB name for a particular key, you may use a program
|
||||||
|
// like wev.
|
||||||
|
//
|
||||||
|
// "Mod" is a special modifier equal to Super when running on a TTY, and to Alt
|
||||||
|
// when running as a winit window.
|
||||||
|
//
|
||||||
|
// Most actions that you can bind here can also be invoked programmatically with
|
||||||
|
// `niri msg action do-something`.
|
||||||
|
|
||||||
|
// Mod-Shift-/, which is usually the same as Mod-?,
|
||||||
|
// shows a list of important hotkeys.
|
||||||
|
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||||
|
|
||||||
|
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||||
|
Mod+T { spawn "alacritty"; }
|
||||||
|
Mod+D { spawn "fuzzel"; }
|
||||||
|
Super+Alt+L { spawn "swaylock"; }
|
||||||
|
|
||||||
|
// You can also use a shell:
|
||||||
|
// Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
|
||||||
|
|
||||||
|
// Example volume keys mappings for PipeWire & WirePlumber.
|
||||||
|
// The allow-when-locked=true property makes them work even when the session is locked.
|
||||||
|
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
|
||||||
|
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
|
||||||
|
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||||
|
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||||
|
|
||||||
|
Mod+Q { close-window; }
|
||||||
|
|
||||||
|
Mod+Left { focus-column-left; }
|
||||||
|
Mod+Down { focus-window-down; }
|
||||||
|
Mod+Up { focus-window-up; }
|
||||||
|
Mod+Right { focus-column-right; }
|
||||||
|
Mod+H { focus-column-left; }
|
||||||
|
Mod+J { focus-window-down; }
|
||||||
|
Mod+K { focus-window-up; }
|
||||||
|
Mod+L { focus-column-right; }
|
||||||
|
|
||||||
|
Mod+Shift+Left { move-column-left; }
|
||||||
|
Mod+Shift+Down { move-window-down; }
|
||||||
|
Mod+Shift+Up { move-window-up; }
|
||||||
|
Mod+Shift+Right { move-column-right; }
|
||||||
|
Mod+Shift+H { move-column-left; }
|
||||||
|
Mod+Shift+J { move-window-down; }
|
||||||
|
Mod+Shift+K { move-window-up; }
|
||||||
|
Mod+Shift+L { move-column-right; }
|
||||||
|
|
||||||
|
// Alternative commands that move across workspaces when reaching
|
||||||
|
// the first or last window in a column.
|
||||||
|
// Mod+J { focus-window-or-workspace-down; }
|
||||||
|
// Mod+K { focus-window-or-workspace-up; }
|
||||||
|
// Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
|
||||||
|
// Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
|
||||||
|
|
||||||
|
Mod+Home { focus-column-first; }
|
||||||
|
Mod+End { focus-column-last; }
|
||||||
|
Mod+Ctrl+Home { move-column-to-first; }
|
||||||
|
Mod+Ctrl+End { move-column-to-last; }
|
||||||
|
|
||||||
|
Mod+Ctrl+Left { focus-monitor-left; }
|
||||||
|
Mod+Ctrl+Down { focus-monitor-down; }
|
||||||
|
Mod+Ctrl+Up { focus-monitor-up; }
|
||||||
|
Mod+Ctrl+Right { focus-monitor-right; }
|
||||||
|
Mod+Ctrl+H { focus-monitor-left; }
|
||||||
|
Mod+Ctrl+J { focus-monitor-down; }
|
||||||
|
Mod+Ctrl+K { focus-monitor-up; }
|
||||||
|
Mod+Ctrl+L { focus-monitor-right; }
|
||||||
|
|
||||||
|
Mod+Shift+Ctrl+Left { move-column-to-monitor-left; }
|
||||||
|
Mod+Shift+Ctrl+Down { move-column-to-monitor-down; }
|
||||||
|
Mod+Shift+Ctrl+Up { move-column-to-monitor-up; }
|
||||||
|
Mod+Shift+Ctrl+Right { move-column-to-monitor-right; }
|
||||||
|
Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
|
||||||
|
Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
|
||||||
|
Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
|
||||||
|
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
|
||||||
|
|
||||||
|
// Alternatively, there are commands to move just a single window:
|
||||||
|
// Mod+Shift+Ctrl+Left { move-window-to-monitor-left; }
|
||||||
|
// ...
|
||||||
|
|
||||||
|
// And you can also move a whole workspace to another monitor:
|
||||||
|
// Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
|
||||||
|
// ...
|
||||||
|
|
||||||
|
Mod+Page_Down { focus-workspace-down; }
|
||||||
|
Mod+Page_Up { focus-workspace-up; }
|
||||||
|
Mod+U { focus-workspace-down; }
|
||||||
|
Mod+I { focus-workspace-up; }
|
||||||
|
Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
|
||||||
|
Mod+Ctrl+U { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+I { move-column-to-workspace-up; }
|
||||||
|
|
||||||
|
// Alternatively, there are commands to move just a single window:
|
||||||
|
// Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
|
||||||
|
// ...
|
||||||
|
|
||||||
|
Mod+Shift+Page_Down { move-workspace-down; }
|
||||||
|
Mod+Shift+Page_Up { move-workspace-up; }
|
||||||
|
Mod+Shift+U { move-workspace-down; }
|
||||||
|
Mod+Shift+I { move-workspace-up; }
|
||||||
|
|
||||||
|
// You can bind mouse wheel scroll ticks using the following syntax.
|
||||||
|
// These binds will change direction based on the natural-scroll setting.
|
||||||
|
//
|
||||||
|
// To avoid scrolling through workspaces really fast, you can use
|
||||||
|
// the cooldown-ms property. The bind will be rate-limited to this value.
|
||||||
|
// You can set a cooldown on any bind, but it's most useful for the wheel.
|
||||||
|
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
||||||
|
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
||||||
|
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
|
||||||
|
|
||||||
|
Mod+WheelScrollRight { focus-column-right; }
|
||||||
|
Mod+WheelScrollLeft { focus-column-left; }
|
||||||
|
Mod+Ctrl+WheelScrollRight { move-column-right; }
|
||||||
|
Mod+Ctrl+WheelScrollLeft { move-column-left; }
|
||||||
|
|
||||||
|
// Usually scrolling up and down with Shift in applications results in
|
||||||
|
// horizontal scrolling; these binds replicate that.
|
||||||
|
Mod+Shift+WheelScrollDown { focus-column-right; }
|
||||||
|
Mod+Shift+WheelScrollUp { focus-column-left; }
|
||||||
|
Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
|
||||||
|
Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
|
||||||
|
|
||||||
|
// Similarly, you can bind touchpad scroll "ticks".
|
||||||
|
// Touchpad scrolling is continuous, so for these binds it is split into
|
||||||
|
// discrete intervals.
|
||||||
|
// These binds are also affected by touchpad's natural-scroll, so these
|
||||||
|
// example binds are "inverted", since we have natural-scroll enabled for
|
||||||
|
// touchpads by default.
|
||||||
|
// Mod+TouchpadScrollDown { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; }
|
||||||
|
// Mod+TouchpadScrollUp { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-"; }
|
||||||
|
|
||||||
|
// You can refer to workspaces by index. However, keep in mind that
|
||||||
|
// niri is a dynamic workspace system, so these commands are kind of
|
||||||
|
// "best effort". Trying to refer to a workspace index bigger than
|
||||||
|
// the current workspace count will instead refer to the bottommost
|
||||||
|
// (empty) workspace.
|
||||||
|
//
|
||||||
|
// For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
|
||||||
|
// will all refer to the 3rd workspace.
|
||||||
|
Mod+1 { focus-workspace 1; }
|
||||||
|
Mod+2 { focus-workspace 2; }
|
||||||
|
Mod+3 { focus-workspace 3; }
|
||||||
|
Mod+4 { focus-workspace 4; }
|
||||||
|
Mod+5 { focus-workspace 5; }
|
||||||
|
Mod+6 { focus-workspace 6; }
|
||||||
|
Mod+7 { focus-workspace 7; }
|
||||||
|
Mod+8 { focus-workspace 8; }
|
||||||
|
Mod+9 { focus-workspace 9; }
|
||||||
|
Mod+Shift+1 { move-column-to-workspace 1; }
|
||||||
|
Mod+Shift+2 { move-column-to-workspace 2; }
|
||||||
|
Mod+Shift+3 { move-column-to-workspace 3; }
|
||||||
|
Mod+Shift+4 { move-column-to-workspace 4; }
|
||||||
|
Mod+Shift+5 { move-column-to-workspace 5; }
|
||||||
|
Mod+Shift+6 { move-column-to-workspace 6; }
|
||||||
|
Mod+Shift+7 { move-column-to-workspace 7; }
|
||||||
|
Mod+Shift+8 { move-column-to-workspace 8; }
|
||||||
|
Mod+Shift+9 { move-column-to-workspace 9; }
|
||||||
|
|
||||||
|
// Alternatively, there are commands to move just a single window:
|
||||||
|
// Mod+Ctrl+1 { move-window-to-workspace 1; }
|
||||||
|
|
||||||
|
// Switches focus between the current and the previous workspace.
|
||||||
|
// Mod+Tab { focus-workspace-previous; }
|
||||||
|
|
||||||
|
Mod+Comma { consume-window-into-column; }
|
||||||
|
Mod+Period { expel-window-from-column; }
|
||||||
|
|
||||||
|
// There are also commands that consume or expel a single window to the side.
|
||||||
|
Mod+BracketLeft { consume-or-expel-window-left; }
|
||||||
|
Mod+BracketRight { consume-or-expel-window-right; }
|
||||||
|
|
||||||
|
Mod+R { switch-preset-column-width; }
|
||||||
|
Mod+Shift+R { reset-window-height; }
|
||||||
|
Mod+F { maximize-column; }
|
||||||
|
Mod+Shift+F { fullscreen-window; }
|
||||||
|
Mod+C { center-column; }
|
||||||
|
|
||||||
|
// Finer width adjustments.
|
||||||
|
// This command can also:
|
||||||
|
// * set width in pixels: "1000"
|
||||||
|
// * adjust width in pixels: "-5" or "+5"
|
||||||
|
// * set width as a percentage of screen width: "25%"
|
||||||
|
// * adjust width as a percentage of screen width: "-10%" or "+10%"
|
||||||
|
// Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0,
|
||||||
|
// set-column-width "100" will make the column occupy 200 physical screen pixels.
|
||||||
|
Mod+Minus { set-column-width "-5%"; }
|
||||||
|
Mod+Equal { set-column-width "+5%"; }
|
||||||
|
|
||||||
|
// Finer height adjustments when in column with other windows.
|
||||||
|
Mod+Shift+Minus { set-window-height "-10%"; }
|
||||||
|
Mod+Shift+Equal { set-window-height "+10%"; }
|
||||||
|
|
||||||
|
// Actions to switch layouts.
|
||||||
|
// Note: if you uncomment these, make sure you do NOT have
|
||||||
|
// a matching layout switch hotkey configured in xkb options above.
|
||||||
|
// Having both at once on the same hotkey will break the switching,
|
||||||
|
// since it will switch twice upon pressing the hotkey (once by xkb, once by niri).
|
||||||
|
// Mod+Space { switch-layout "next"; }
|
||||||
|
// Mod+Shift+Space { switch-layout "prev"; }
|
||||||
|
|
||||||
|
Print { screenshot; }
|
||||||
|
Ctrl+Print { screenshot-screen; }
|
||||||
|
Alt+Print { screenshot-window; }
|
||||||
|
|
||||||
|
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||||
|
Mod+Shift+E { quit; }
|
||||||
|
|
||||||
|
// Powers off the monitors. To turn them back on, do any input like
|
||||||
|
// moving the mouse or pressing any other key.
|
||||||
|
Mod+Shift+P { power-off-monitors; }
|
||||||
|
}
|
|
@ -1,95 +1,90 @@
|
||||||
{
|
{
|
||||||
"agda-vim": { "branch": "master", "commit": "4a0f475aaef756702222bdd5b01e25f814f5691f" },
|
"agda-vim": { "branch": "master", "commit": "4a0f475aaef756702222bdd5b01e25f814f5691f" },
|
||||||
"aniseed": { "branch": "develop", "commit": "44d2886a9ec38abac61b4c73c2e57fb752232cfe" },
|
"aniseed": { "branch": "master", "commit": "7bc09736f3651c10d29b82d1a465b7f540614be1" },
|
||||||
"antifennel-nvim": { "branch": "master", "commit": "79261d02213a5093135e5d02431682f04459f0f7" },
|
"antifennel-nvim": { "branch": "master", "commit": "79261d02213a5093135e5d02431682f04459f0f7" },
|
||||||
"any-jump.vim": { "branch": "master", "commit": "770ef708ae3f13322430fcc663d7dfb864756b9b" },
|
|
||||||
"ats-vim": { "branch": "master", "commit": "8e3e722b6d09ed81313573b4e7b108b265628ff1" },
|
"ats-vim": { "branch": "master", "commit": "8e3e722b6d09ed81313573b4e7b108b265628ff1" },
|
||||||
"auto-pairs": { "branch": "master", "commit": "39f06b873a8449af8ff6a3eee716d3da14d63a76" },
|
"auto-pairs": { "branch": "master", "commit": "39f06b873a8449af8ff6a3eee716d3da14d63a76" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
"cmp-calc": { "branch": "main", "commit": "50792f34a628ea6eb31d2c90e8df174671e4e7a0" },
|
"cmp-calc": { "branch": "main", "commit": "5947b412da67306c5b68698a02a846760059be2e" },
|
||||||
"cmp-conventionalcommits": { "branch": "master", "commit": "a4dfacf0601130b7f8afa7c948d735c27802fb7f" },
|
"cmp-conventionalcommits": { "branch": "master", "commit": "a4dfacf0601130b7f8afa7c948d735c27802fb7f" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "3d8912ebeb56e5ae08ef0906e3a54de1c66b92f1" },
|
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
||||||
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||||
"cmp-omni": { "branch": "main", "commit": "9436e6cdd7c5dfa24a99a60d9280b24dbdea3649" },
|
"cmp-omni": { "branch": "main", "commit": "4ef610bbd85a5ee4e97e09450c0daecbdc60de86" },
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||||
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
|
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
|
||||||
"conflict-marker.vim": { "branch": "master", "commit": "11a4d42244755505b66b15cd4496a150432eb5e3" },
|
"conflict-marker.vim": { "branch": "master", "commit": "62742b2ffe7a433988759c67b5c5a22eff74a14b" },
|
||||||
"conjure": { "branch": "master", "commit": "1dd96d90f53122225f698e58b50dee9ed760cf2e" },
|
"conjure": { "branch": "master", "commit": "dfb9f75010a181c090ab905b2a2b4180aea20f15" },
|
||||||
"copilot.lua": { "branch": "master", "commit": "77e3a4907928f0813024e573b882dc879dfc0c6b" },
|
"copilot.lua": { "branch": "master", "commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6" },
|
||||||
"crates.nvim": { "branch": "main", "commit": "3648f8787656d7572740560331553abdaa8cb982" },
|
"crates.nvim": { "branch": "main", "commit": "d556c00d60c9421c913ee54ff690df2a34f6264e" },
|
||||||
"diffview.nvim": { "branch": "main", "commit": "6780a8a27f5cd326f502653cecef701611641fdf" },
|
"diffview.nvim": { "branch": "main", "commit": "9bdd5537575c2ea7925b71ae06585b934beea13d" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "f16d7586fcdd8b2e3850d0abb7e46f944125cc25" },
|
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
||||||
"editorconfig-vim": { "branch": "master", "commit": "7f4e4dfc58c480d154116614e616d90aac77204d" },
|
"editorconfig-vim": { "branch": "master", "commit": "8b7da79e9daee7a3f3a8d4fe29886b9756305aff" },
|
||||||
"emmet-vim": { "branch": "master", "commit": "def5d57a1ae5afb1b96ebe83c4652d1c03640f4d" },
|
"emmet-vim": { "branch": "master", "commit": "def5d57a1ae5afb1b96ebe83c4652d1c03640f4d" },
|
||||||
"feline.nvim": { "branch": "master", "commit": "d48b6f92c6ccdd6654c956f437be49ea160b5b0c" },
|
"feline.nvim": { "branch": "master", "commit": "3587f57480b88e8009df7b36dc84e9c7ff8f2c49" },
|
||||||
"fennel.vim": { "branch": "master", "commit": "30b9beabad2c4f09b9b284caf5cd5666b6b4dc89" },
|
"fennel.vim": { "branch": "master", "commit": "30b9beabad2c4f09b9b284caf5cd5666b6b4dc89" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "b71d1ddc30a10ce0474156f7ee93bc9006d0cd74" },
|
"flutter-tools.nvim": { "branch": "main", "commit": "990a1349c29f7d474a0cd51355aba773ccc9deea" },
|
||||||
"gh.nvim": { "branch": "main", "commit": "2b5551656c1b896bf4ae06546eaaab00311f9a18" },
|
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "4455bb5364d29ff86639dfd5533d4fe4b48192d4" },
|
"gh.nvim": { "branch": "main", "commit": "3181973d0c80fe0553e30e0aeeb860bedef9a33b" },
|
||||||
"glance.nvim": { "branch": "master", "commit": "6da4999e261829daebbee0c91efb5cb562408755" },
|
"gitsigns.nvim": { "branch": "main", "commit": "805610a9393fa231f2c2b49cb521bfa413fadb3d" },
|
||||||
|
"glance.nvim": { "branch": "master", "commit": "51059bcf21016387b6233c89eed220cf47fca752" },
|
||||||
"haskell-vim": { "branch": "master", "commit": "f35d02204b4813d1dbe8b0e98cc39701a4b8e15e" },
|
"haskell-vim": { "branch": "master", "commit": "f35d02204b4813d1dbe8b0e98cc39701a4b8e15e" },
|
||||||
"hop.nvim": { "branch": "master", "commit": "03f0434869f1f38868618198b5f4f2ab6d39aef2" },
|
"hop.nvim": { "branch": "master", "commit": "1a1eceafe54b5081eae4cb91c723abd1d450f34b" },
|
||||||
"idris2-vim": { "branch": "master", "commit": "964cebee493c85f75796e4f4e6bbb4ac54e2da9e" },
|
"idris2-vim": { "branch": "master", "commit": "964cebee493c85f75796e4f4e6bbb4ac54e2da9e" },
|
||||||
"inc-rename.nvim": { "branch": "main", "commit": "ed0f6f2b917cac4eb3259f907da0a481b27a3b7e" },
|
"inc-rename.nvim": { "branch": "main", "commit": "7c6125b1ee476b56708a6518a37b2a3357f57bfc" },
|
||||||
"kmonad-vim": { "branch": "master", "commit": "37978445197ab00edeb5b731e9ca90c2b141723f" },
|
"kmonad-vim": { "branch": "master", "commit": "37978445197ab00edeb5b731e9ca90c2b141723f" },
|
||||||
"lalrpop.vim": { "branch": "master", "commit": "7073eec8efdeff37cacd4bca378c28dad02c3c14" },
|
"lalrpop.vim": { "branch": "master", "commit": "7073eec8efdeff37cacd4bca378c28dad02c3c14" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "678179543e0d27650c328d8659f2c2cab4d854ef" },
|
"lazy.nvim": { "branch": "main", "commit": "0de782a6b0ffba599dbd332a4019d852564bf28c" },
|
||||||
"litee.nvim": { "branch": "main", "commit": "bf366a1414fd0f9401631ac8884f2f9fa4bf18d2" },
|
"litee.nvim": { "branch": "main", "commit": "3c51764a615566e4c0223362f4be00acc23c430e" },
|
||||||
"lsp_lines.nvim": { "branch": "main", "commit": "f53af96d4789eef39a082dbcce078d2bfc384ece" },
|
"lsp_lines.nvim": { "branch": "main", "commit": "7d9e2748b61bff6ebba6e30adbc7173ccf21c055" },
|
||||||
"lsp_signature.nvim": { "branch": "master", "commit": "17ff7a405fea8376b015b8ea7910d2e59958bf68" },
|
"lsp_signature.nvim": { "branch": "master", "commit": "5babe266b99a273a866525baaaee34c603997b8b" },
|
||||||
"neoformat": { "branch": "master", "commit": "2d5d071d5957681ae677ee06f6eb879a61b7b618" },
|
"neoformat": { "branch": "master", "commit": "34d4d89fea22645b16f69f818dcb7b6b682b0c1a" },
|
||||||
"neogit": { "branch": "master", "commit": "68a3e90e9d1ed9e362317817851d0f34b19e426b" },
|
"neogit": { "branch": "master", "commit": "b93316d15c590377f50ca61e70e9129e4aa9b848" },
|
||||||
"nerdcommenter": { "branch": "master", "commit": "b0b09ea46c9f0509556257bd8b838b40f493d6a0" },
|
"nerdcommenter": { "branch": "master", "commit": "7bb1f72e802a80e37bdda5f6906c69b5a93de1eb" },
|
||||||
"noice.nvim": { "branch": "main", "commit": "a070cb87a180fd7e2c4387accff0be90268fb736" },
|
"nfnl": { "branch": "main", "commit": "d6b33ae7376dda6f26cca8365d9beaf66f43c410" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "f2841533540eb60d6878964a3cd3f8196e1f200c" },
|
"nvim-bufferline.lua": { "branch": "main", "commit": "64e2c5def50dfd6b6f14d96a45fa3d815a4a1eef" },
|
||||||
"nvim-bufferline.lua": { "branch": "main", "commit": "874f869a24e568980294b3200fc9dd842db65a36" },
|
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "69e7d280cbe17e318b549a10ae3cae5810946be6" },
|
"nvim-code-action-menu": { "branch": "main", "commit": "8c7672a4b04d3cc4edd2c484d05b660a9cb34a1b" },
|
||||||
"nvim-code-action-menu": { "branch": "main", "commit": "e4399dbaf6eabff998d3d5f1cbcd8d9933710027" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" },
|
"nvim-dap": { "branch": "master", "commit": "5a2f7121869394502521c52b2bc581ab22c69447" },
|
||||||
"nvim-dap": { "branch": "master", "commit": "7c1d47cf7188fc31acdf951f9eee22da9d479152" },
|
"nvim-dap-ui": { "branch": "master", "commit": "71bfe9bd6b3465e169b53bea4f83775034d822dd" },
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "c020f660b02772f9f3d11f599fefad3268628a9e" },
|
"nvim-jenkinsfile-linter": { "branch": "main", "commit": "b6b48b0a7aed92ed46bb9e1ab208dce92941f50b" },
|
||||||
"nvim-jenkinsfile-linter": { "branch": "main", "commit": "4e37807dfc5b95dba7f4406f4f11dd7c4d94661e" },
|
"nvim-lspconfig": { "branch": "master", "commit": "9bda20fb967075355f253911bc066a8b5a03c77e" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "08f1f347c718e945c3b1712ebb68c6834182cf3a" },
|
"nvim-nio": { "branch": "master", "commit": "8765cbc4d0c629c8158a5341e1b4305fd93c3a90" },
|
||||||
"nvim-scrollbar": { "branch": "main", "commit": "35f99d559041c7c0eff3a41f9093581ceea534e8" },
|
"nvim-scrollbar": { "branch": "main", "commit": "35f99d559041c7c0eff3a41f9093581ceea534e8" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "f9d701176cb9a3e206a4c690920a8993630c3ec8" },
|
"nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" },
|
||||||
"nvim-treesitter-textsubjects": { "branch": "master", "commit": "b913508f503527ff540f7fe2dcf1bf1d1f259887" },
|
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "0bf8fbc2ca8f8cdb6efbd0a9e32740d7a991e4c3" },
|
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "2a125024a137677930efcfdf720f205504c97268" },
|
|
||||||
"nvim.lua": { "branch": "master", "commit": "5d57be0b6eea6c06977b1c5fe0752da909cf4154" },
|
"nvim.lua": { "branch": "master", "commit": "5d57be0b6eea6c06977b1c5fe0752da909cf4154" },
|
||||||
"nvlime": { "branch": "master", "commit": "2cdbcc1d8be09c16674d4b1983fba1a2f15b431a" },
|
"nvlime": { "branch": "master", "commit": "f071cbcd25322759c4ca8a303988e8ddb1a8de2c" },
|
||||||
"octo.nvim": { "branch": "master", "commit": "2d2769ff80a82a0da24dcf636ae146f3ed5d7ae5" },
|
"obsidian.nvim": { "branch": "main", "commit": "db41b1f20459293436fab510bec58c82a73bd1f7" },
|
||||||
"parinfer-rust": { "branch": "master", "commit": "3c769707ad3b18d530f696fe42a9d495139149ab" },
|
"octo.nvim": { "branch": "master", "commit": "5646539320cd62af6ff28f48ec92aeb724c68e18" },
|
||||||
"parsley": { "branch": "main", "commit": "9a388fe9e8a443d9d892318b4cce6dd287c47e38" },
|
"parinfer-rust": { "branch": "master", "commit": "d84828b453e158d06406f6b5e9056f6b54ff76c9" },
|
||||||
"persistence.nvim": { "branch": "main", "commit": "4b8051c01f696d8849a5cb8afa9767be8db16e40" },
|
"parsley": { "branch": "main", "commit": "c4100aa449bfa971dcfc56ffe4206ba034db08cc" },
|
||||||
"playground": { "branch": "master", "commit": "2b81a018a49f8e476341dfcb228b7b808baba68b" },
|
"persistence.nvim": { "branch": "main", "commit": "5fe077056c821aab41f87650bd6e1c48cd7dd047" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "499e0743cf5e8075cd32af68baa3946a1c76adf1" },
|
"plenary.nvim": { "branch": "master", "commit": "b5c8de02a44ffeabff678090edd6a132ff8ab77d" },
|
||||||
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
||||||
"purescript-vim": { "branch": "main", "commit": "82348352e6568fcc0385bd7c99a8ead3a479feea" },
|
"purescript-vim": { "branch": "main", "commit": "82348352e6568fcc0385bd7c99a8ead3a479feea" },
|
||||||
"rust-tools.nvim": { "branch": "master", "commit": "71d2cf67b5ed120a0e31b2c8adb210dd2834242f" },
|
|
||||||
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
||||||
|
"rustaceanvim": { "branch": "master", "commit": "66466d4fe0b8988ba9e2932d3c41782c2efb683b" },
|
||||||
"sad.vim": { "branch": "master", "commit": "2f5b33b239a566ffedaa81cee3051bb613482d1e" },
|
"sad.vim": { "branch": "master", "commit": "2f5b33b239a566ffedaa81cee3051bb613482d1e" },
|
||||||
"stabilize.nvim": { "branch": "master", "commit": "eeb1873daffaba67246188a5668b366e45ed1de1" },
|
"stabilize.nvim": { "branch": "master", "commit": "eeb1873daffaba67246188a5668b366e45ed1de1" },
|
||||||
"startuptime.vim": { "branch": "master", "commit": "dfa57f522d6f61793fe5fea65bca7484751b8ca2" },
|
"startuptime.vim": { "branch": "master", "commit": "dfa57f522d6f61793fe5fea65bca7484751b8ca2" },
|
||||||
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
|
|
||||||
"tabular": { "branch": "master", "commit": "339091ac4dd1f17e225fe7d57b48aff55f99b23a" },
|
"tabular": { "branch": "master", "commit": "339091ac4dd1f17e225fe7d57b48aff55f99b23a" },
|
||||||
"targets.vim": { "branch": "master", "commit": "642d3a4ce306264b05ea3219920b13ea80931767" },
|
"targets.vim": { "branch": "master", "commit": "642d3a4ce306264b05ea3219920b13ea80931767" },
|
||||||
"telescope-dap.nvim": { "branch": "master", "commit": "313d2ea12ae59a1ca51b62bf01fc941a983d9c9c" },
|
"telescope-dap.nvim": { "branch": "master", "commit": "8c88d9716c91eaef1cdea13cb9390d8ef447dbfe" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "116dbea5800c908de4afa6e793f28f782621c65d" },
|
"telescope.nvim": { "branch": "master", "commit": "4aed63995a69e343b068c7469491a8d1592c339f" },
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "09b0b17d824d2d56f02ff15967e8a2499a89c731" },
|
"todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
|
||||||
"trouble.nvim": { "branch": "main", "commit": "2af0dd9767526410c88c628f1cbfcb6cf22dd683" },
|
"trouble.nvim": { "branch": "main", "commit": "a8264a65a0b894832ea642844f5b7c30112c458f" },
|
||||||
"twilight.nvim": { "branch": "main", "commit": "a4843e6e67092a1e6fa9666f02bf0ab59174c1df" },
|
"typescript-vim": { "branch": "master", "commit": "eb4d90d3e449b4a3c1a17f56e4429ff4e0a6b3a6" },
|
||||||
"typescript-vim": { "branch": "master", "commit": "31ede5ad905ce4159a5e285073a391daa3bf83fa" },
|
|
||||||
"vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" },
|
"vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" },
|
||||||
"vim-exchange": { "branch": "master", "commit": "784d63083ad7d613aa96f00021cd0dfb126a781a" },
|
"vim-exchange": { "branch": "master", "commit": "d6c1e9790bcb8df27c483a37167459bbebe0112e" },
|
||||||
"vim-fugitive": { "branch": "master", "commit": "5f0d280b517cacb16f59316659966c7ca5e2bea2" },
|
"vim-fugitive": { "branch": "master", "commit": "4f59455d2388e113bd510e85b310d15b9228ca0d" },
|
||||||
"vim-gh-line": { "branch": "master", "commit": "fbf368bdfad7e5478009a6dc62559e6b2c72d603" },
|
"vim-gh-line": { "branch": "master", "commit": "731751fdfa4f64a061dbc7088cb7b2f12e0828ad" },
|
||||||
"vim-gruvbox8": { "branch": "master", "commit": "67d28c1031e4970b07627fe30262f1862755b915" },
|
"vim-gruvbox8": { "branch": "master", "commit": "d1cf31e5215ad6f5544d9e631383aef4b6c35cb7" },
|
||||||
"vim-indent-guides": { "branch": "master", "commit": "a1e1390c0136e63e813d051de2003bf0ee18ae30" },
|
"vim-indent-guides": { "branch": "master", "commit": "a1e1390c0136e63e813d051de2003bf0ee18ae30" },
|
||||||
"vim-javascript": { "branch": "master", "commit": "c470ce1399a544fe587eab950f571c83cccfbbdc" },
|
"vim-javascript": { "branch": "master", "commit": "c470ce1399a544fe587eab950f571c83cccfbbdc" },
|
||||||
"vim-jsonc": { "branch": "master", "commit": "0b7ca17da85b5faa813be8ead3ad497e348b2763" },
|
"vim-jsonc": { "branch": "master", "commit": "0b7ca17da85b5faa813be8ead3ad497e348b2763" },
|
||||||
"vim-jsx": { "branch": "master", "commit": "8879e0d9c5ba0e04ecbede1c89f63b7a0efa24af" },
|
"vim-jsx": { "branch": "master", "commit": "8879e0d9c5ba0e04ecbede1c89f63b7a0efa24af" },
|
||||||
"vim-nix": { "branch": "master", "commit": "7d23e97d13c40fcc6d603b291fe9b6e5f92516ee" },
|
"vim-nix": { "branch": "master", "commit": "e25cd0f2e5922f1f4d3cd969f92e35a9a327ffb0" },
|
||||||
"vim-raku": { "branch": "master", "commit": "f4496123353cce789fc6645ceb686f5cf51acca3" },
|
"vim-raku": { "branch": "master", "commit": "f4496123353cce789fc6645ceb686f5cf51acca3" },
|
||||||
"vim-repeat": { "branch": "master", "commit": "24afe922e6a05891756ecf331f39a1f6743d3d5a" },
|
"vim-repeat": { "branch": "master", "commit": "24afe922e6a05891756ecf331f39a1f6743d3d5a" },
|
||||||
"vim-sleuth": { "branch": "master", "commit": "1cc4557420f215d02c4d2645a748a816c220e99b" },
|
"vim-sleuth": { "branch": "master", "commit": "1cc4557420f215d02c4d2645a748a816c220e99b" },
|
||||||
|
@ -98,13 +93,12 @@
|
||||||
"vim-svelte": { "branch": "main", "commit": "0e93ec53c3667753237282926fec626785622c1c" },
|
"vim-svelte": { "branch": "main", "commit": "0e93ec53c3667753237282926fec626785622c1c" },
|
||||||
"vim-toml": { "branch": "main", "commit": "d36caa6b1cf508a4df1c691f915572fc02143258" },
|
"vim-toml": { "branch": "main", "commit": "d36caa6b1cf508a4df1c691f915572fc02143258" },
|
||||||
"vim-tsx": { "branch": "master", "commit": "77c89c42e189fefd3c9a632b37b7e3b3b9edf918" },
|
"vim-tsx": { "branch": "master", "commit": "77c89c42e189fefd3c9a632b37b7e3b3b9edf918" },
|
||||||
"vim-visual-multi": { "branch": "master", "commit": "724bd53adfbaf32e129b001658b45d4c5c29ca1a" },
|
"vim-visual-multi": { "branch": "master", "commit": "b84a6d42c1c10678928b0bf8327f378c8bc8af5a" },
|
||||||
"vim-vsnip": { "branch": "master", "commit": "7753ba9c10429c29d25abfd11b4c60b76718c438" },
|
"vim-vsnip": { "branch": "master", "commit": "02a8e79295c9733434aab4e0e2b8c4b7cea9f3a9" },
|
||||||
"vim-vsnip-integ": { "branch": "master", "commit": "1930f0fc234521945afd48db2bff09d925211571" },
|
"vim-vsnip-integ": { "branch": "master", "commit": "1914e72cf3de70df7f5dde476cd299aba2440aef" },
|
||||||
"vimtex": { "branch": "master", "commit": "127c0a2ec8c6ca5f4c33902f004d302bd88a7c3e" },
|
"vimtex": { "branch": "master", "commit": "9665df7f51ee24aa81dbd81782e0a22480209753" },
|
||||||
"webapi-vim": { "branch": "master", "commit": "70c49ada7827d3545a65cbdab04c5c89a3a8464e" },
|
"webapi-vim": { "branch": "master", "commit": "70c49ada7827d3545a65cbdab04c5c89a3a8464e" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "e271c28118998c93a14d189af3395812a1aa646c" },
|
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" },
|
||||||
"yats.vim": { "branch": "master", "commit": "d3687891bdd333de4d831b6c7859e15d9ed3c4b2" },
|
"yats.vim": { "branch": "master", "commit": "65fa16b9141ff77cfa27db5eb355fb98ac0cd7dd" },
|
||||||
"yuck.vim": { "branch": "master", "commit": "9b5e0370f70cc30383e1dabd6c215475915fe5c3" },
|
"yuck.vim": { "branch": "master", "commit": "9b5e0370f70cc30383e1dabd6c215475915fe5c3" }
|
||||||
"zen-mode.nvim": { "branch": "main", "commit": "68f554702de63f4b7b6b6d4bcb10178f41a0acc7" }
|
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
|
@ -1,24 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/bufferline.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local a = _local_1_["a"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local colors = _local_1_["colors"]
|
|
||||||
local bufferline = autoload("bufferline")
|
|
||||||
vim.cmd("hi link BufferLineTabSeparatorSelected BufferLineSeparatorSelected")
|
|
||||||
vim.cmd("hi link BufferLineTabSeparator BufferLineSeparator")
|
|
||||||
local function mk_active(fg)
|
|
||||||
return {bg = colors.neutral_aqua, fg = fg, italic = false, bold = false}
|
|
||||||
end
|
|
||||||
local function mk_visible(fg)
|
|
||||||
return {bg = colors.dark1, fg = fg, italic = false, bold = false}
|
|
||||||
end
|
|
||||||
local function setup()
|
|
||||||
local selected = {bg = colors.neutral_aqua, fg = colors.bg_main, gui = "NONE"}
|
|
||||||
local visible = {bg = colors.dark1, fg = colors.neutral_aqua}
|
|
||||||
local function _2_(cnt, _lvl, _diagnostics_dict)
|
|
||||||
return (" (" .. cnt .. ")")
|
|
||||||
end
|
|
||||||
return bufferline.setup({options = {diagnostics = "nvim_lsp", diagnostics_indicator = _2_, tab_size = 10, enforce_regular_tabs = false, show_buffer_close_icons = false, show_tab_indicators = false, show_close_icon = false, show_buffer_icons = false}, highlights = {fill = {bg = colors.bg_main, fg = colors.light0}, background = visible, buffer_visible = visible, buffer_selected = a.assoc(selected, "bold", false, "italic", false), modified = visible, modified_visible = visible, modified_selected = selected, hint = visible, hint_visible = visible, hint_selected = selected, info = visible, info_visible = visible, info_selected = selected, warning = visible, warning_visible = visible, warning_selected = selected, error = visible, error_visible = visible, error_selected = selected, duplicate = visible, duplicate_visible = visible, duplicate_selected = selected, diagnostic = mk_visible(colors.neutral_red), diagnostic_visible = mk_visible(colors.neutral_red), diagnostic_selected = mk_active(colors.faded_red), info_diagnostic = mk_visible(colors.neutral_blue), info_diagnostic_visible = mk_visible(colors.neutral_blue), info_diagnostic_selected = mk_active(colors.faded_blue), hint_diagnostic = mk_visible(colors.neutral_yellow), hint_diagnostic_visible = mk_visible(colors.neutral_yellow), hint_diagnostic_selected = mk_active(colors.faded_orange), warning_diagnostic = mk_visible(colors.neutral_orange), warning_diagnostic_visible = mk_visible(colors.neutral_orange), warning_diagnostic_selected = mk_active(colors.faded_orange), error_diagnostic = mk_visible(colors.neutral_red), error_diagnostic_visible = mk_visible(colors.neutral_red), error_diagnostic_selected = mk_active(colors.red), separator = visible, separator_visible = {bg = colors.red}, separator_selected = {bg = colors.red}, indicator_selected = {bg = colors.neutral_aqua, fg = colors.neutral_aqua, italic = false, bold = false}, tab_separator = {bg = colors.red}, tab_separator_selected = {bg = colors.neutral_aqua, fg = colors.neutral_aqua}, pick_selected = {bg = colors.bright_red, fg = colors.bright_red}, tab_selected = {bg = colors.bright_green, fg = colors.bright_green}, tab = {bg = colors.bright_yellow, fg = colors.bright_yellow}}})
|
|
||||||
end
|
|
||||||
return {utils.plugin("akinsho/nvim-bufferline.lua", {config = setup, tag = "v4.5.2"})}
|
|
|
@ -1,51 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/cmp.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local cmp = autoload("cmp")
|
|
||||||
local function item_formatter(item, vim_item)
|
|
||||||
do
|
|
||||||
local padding = string.rep(" ", (10 - vim.fn.strwidth(vim_item.abbr)))
|
|
||||||
local details
|
|
||||||
do
|
|
||||||
local t_2_ = item
|
|
||||||
if (nil ~= t_2_) then
|
|
||||||
t_2_ = (t_2_).completion_item
|
|
||||||
else
|
|
||||||
end
|
|
||||||
if (nil ~= t_2_) then
|
|
||||||
t_2_ = (t_2_).detail
|
|
||||||
else
|
|
||||||
end
|
|
||||||
details = t_2_
|
|
||||||
end
|
|
||||||
if details then
|
|
||||||
vim_item.abbr = (vim_item.abbr .. padding .. " " .. details)
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return vim_item
|
|
||||||
end
|
|
||||||
local function setup()
|
|
||||||
local function _6_(args)
|
|
||||||
return vim.fn["vsnip#anonymous"](args.body)
|
|
||||||
end
|
|
||||||
local function _7_()
|
|
||||||
cmp.mapping.close()
|
|
||||||
return vim.cmd("stopinsert")
|
|
||||||
end
|
|
||||||
local function _8_(_241, _242)
|
|
||||||
if ((15 == _241:get_kind()) and (15 == _242:get_kind())) then
|
|
||||||
return nil
|
|
||||||
elseif (15 == _241:get_kind()) then
|
|
||||||
return false
|
|
||||||
elseif (15 == _242:get_kind()) then
|
|
||||||
return true
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
cmp.setup({snippet = {expand = _6_}, completion = {autocomplete = false}, mapping = cmp.mapping.preset.insert({["<C-d>"] = cmp.mapping.scroll_docs(-4), ["<C-f>"] = cmp.mapping.scroll_docs(4), ["<C-space>"] = cmp.mapping.complete(), ["<esc>"] = _7_, ["<CR>"] = cmp.mapping.confirm({select = true})}), experimental = {custom_menu = true}, sources = {{name = "nvim_lsp", priority = 5}, {name = "vsnip", priority = 3}, {name = "nvim_lua"}, {name = "calc"}, {name = "path"}, {name = "nvim_lsp_signature_help"}, {name = "conventionalcommits"}, {name = "crates"}}, formatting = {format = item_formatter}, sorting = {priority_weight = 2, comparators = {_8_, cmp.config.compare.offset, cmp.config.compare.exact, cmp.config.compare.score, cmp.config.compare.kind, cmp.config.compare.sort_text, cmp.config.compare.length, cmp.config.compare.order}}})
|
|
||||||
return cmp.setup.cmdline("/", {sources = {{name = "buffer"}}})
|
|
||||||
end
|
|
||||||
return {utils.plugin("hrsh7th/vim-vsnip", {lazy = true, event = {"VeryLazy"}}), utils.plugin("hrsh7th/vim-vsnip-integ", {lazy = true, event = {"VeryLazy"}}), utils.plugin("rafamadriz/friendly-snippets"), utils.plugin("hrsh7th/nvim-cmp", {lazy = true, event = {"VeryLazy"}, dependencies = {{"hrsh7th/cmp-nvim-lsp"}, {"hrsh7th/cmp-buffer"}, {"hrsh7th/cmp-vsnip"}, {"hrsh7th/cmp-nvim-lua"}, {"hrsh7th/cmp-calc"}, {"hrsh7th/cmp-path"}, {"hrsh7th/cmp-nvim-lsp-signature-help"}, {"davidsierradz/cmp-conventionalcommits"}, {"hrsh7th/cmp-omni"}}, config = setup})}
|
|
|
@ -1,3 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/copilot.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local utils = require("dots.utils")
|
|
||||||
return {utils.plugin("zbirenbaum/copilot.lua", {cmd = "Copilot", event = "InsertEnter", opts = {panel = {enabled = false}, suggestion = {enabled = true, auto_trigger = "true", keymap = {accept = "<tab>", next = "<C-l><C-n>"}}}})}
|
|
|
@ -1,10 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/diffview.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local cb = autoload("diffview.config")
|
|
||||||
local diffview = autoload("diffview")
|
|
||||||
local function _2_()
|
|
||||||
return diffview.setup({file_panel = {width = 35, use_icons = false}, key_bindings = {view = {["<leader>dn"] = cb.diffview_callback("select_next_entry"), ["<leader>dp"] = cb.diffview_callback("select_prev_entry"), ["<leader>dd"] = cb.diffview_callback("toggle_files")}}, diff_binaries = false})
|
|
||||||
end
|
|
||||||
return {utils.plugin("sindrets/diffview.nvim", {cmd = {"DiffviewOpen", "DiffviewToggleFiles"}, config = _2_})}
|
|
|
@ -1,9 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/emmet.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local utils = require("dots.utils")
|
|
||||||
local function setup()
|
|
||||||
vim.g.user_emmet_mode = "n"
|
|
||||||
vim.g.user_emmet_leader_key = "<leader>e"
|
|
||||||
vim.g.user_emmet_settings = {["javascript.jsx"] = {extends = "jsx"}, ["typescript.jsx"] = {extends = "jsx"}}
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
return {utils.plugin("mattn/emmet-vim", {lazy = true, config = setup})}
|
|
|
@ -1,133 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/feline.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local a = _local_1_["a"]
|
|
||||||
local str = _local_1_["str"]
|
|
||||||
local colors = _local_1_["colors"]
|
|
||||||
local feline = autoload("feline")
|
|
||||||
local function setup()
|
|
||||||
vim.opt.termguicolors = true
|
|
||||||
local modes = {n = {text = "NORMAL", color = colors.neutral_aqua}, i = {text = "INSERT", color = colors.neutral_yellow}, c = {text = "CMMAND", color = colors.neutral_aqua}, ce = {text = "NORMEX", color = colors.neutral_aqua}, cv = {text = "EX", color = colors.neutral_aqua}, ic = {text = "INSCOMP", color = colors.neutral_aqua}, no = {text = "OP-PENDING", color = colors.neutral_aqua}, r = {text = "HIT-ENTER", color = colors.neutral_aqua}, ["r?"] = {text = "CONFIRM", color = colors.neutral_aqua}, R = {text = "REPLACE", color = colors.neutral_aqua}, Rv = {text = "VIRTUAL", color = colors.neutral_aqua}, s = {text = "SELECT", color = colors.neutral_aqua}, S = {text = "SELECT", color = colors.neutral_aqua}, t = {text = "TERM", color = colors.neutral_aqua}, v = {text = "VISUAL", color = colors.neutral_blue}, V = {text = "VISUAL LINE", color = colors.neutral_blue}, ["\22"] = {text = "VISUAL BLOCK", color = colors.neutral_blue}}
|
|
||||||
local bar_bg = colors.bg_main
|
|
||||||
local horiz_separator_color = colors.light1
|
|
||||||
local function or_empty(x)
|
|
||||||
return (x or "")
|
|
||||||
end
|
|
||||||
local function spaces(x)
|
|
||||||
if x then
|
|
||||||
return (" " .. x .. " ")
|
|
||||||
else
|
|
||||||
return ""
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local function get_current_filepath()
|
|
||||||
local file = utils["shorten-path"](vim.fn.bufname(), 30, 30)
|
|
||||||
if a["empty?"](file) then
|
|
||||||
return ""
|
|
||||||
elseif vim.bo.readonly then
|
|
||||||
return ("RO " .. file)
|
|
||||||
elseif (vim.bo.modifiable and vim.bo.modified) then
|
|
||||||
return (file .. " \226\151\143")
|
|
||||||
else
|
|
||||||
return (file .. " ")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local function vim_mode_hl(use_as_fg_3f)
|
|
||||||
local color = modes[vim.fn.mode()].color
|
|
||||||
if use_as_fg_3f then
|
|
||||||
return {bg = bar_bg, fg = color}
|
|
||||||
else
|
|
||||||
return {bg = color, fg = bar_bg}
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local function git_status_provider()
|
|
||||||
local function _5_(_241)
|
|
||||||
return ("master" ~= _241)
|
|
||||||
end
|
|
||||||
local function _7_()
|
|
||||||
local t_6_ = vim.b
|
|
||||||
if (nil ~= t_6_) then
|
|
||||||
t_6_ = (t_6_).gitsigns_status_dict
|
|
||||||
else
|
|
||||||
end
|
|
||||||
if (nil ~= t_6_) then
|
|
||||||
t_6_ = (t_6_).head
|
|
||||||
else
|
|
||||||
end
|
|
||||||
return t_6_
|
|
||||||
end
|
|
||||||
return or_empty(utils["keep-if"](_5_, _7_()))
|
|
||||||
end
|
|
||||||
local function vim_mode()
|
|
||||||
return (" " .. (modes[vim.fn.mode()].text or vim.fn.mode) .. " ")
|
|
||||||
end
|
|
||||||
local function lsp_progress_provider()
|
|
||||||
local msgs = vim.lsp.util.get_progress_messages()
|
|
||||||
local s
|
|
||||||
do
|
|
||||||
local tbl_17_auto = {}
|
|
||||||
local i_18_auto = #tbl_17_auto
|
|
||||||
for _, msg in ipairs(msgs) do
|
|
||||||
local val_19_auto
|
|
||||||
if msg.message then
|
|
||||||
val_19_auto = (msg.title .. " " .. msg.message)
|
|
||||||
else
|
|
||||||
val_19_auto = nil
|
|
||||||
end
|
|
||||||
if (nil ~= val_19_auto) then
|
|
||||||
i_18_auto = (i_18_auto + 1)
|
|
||||||
do end (tbl_17_auto)[i_18_auto] = val_19_auto
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
|
||||||
s = tbl_17_auto
|
|
||||||
end
|
|
||||||
return or_empty(str.join(" | ", s))
|
|
||||||
end
|
|
||||||
local function lsp_diagnostic_component(kind, color)
|
|
||||||
local function _12_()
|
|
||||||
return (0 ~= #vim.diagnostic.get(0, {severity = kind}))
|
|
||||||
end
|
|
||||||
local function _13_()
|
|
||||||
return spaces(#vim.diagnostic.get(0, {severity = kind}))
|
|
||||||
end
|
|
||||||
return {enabled = _12_, provider = _13_, left_sep = "", right_sep = "", hl = {fg = bar_bg, bg = color}}
|
|
||||||
end
|
|
||||||
local function coordinates()
|
|
||||||
local _let_14_ = vim.api.nvim_win_get_cursor(0)
|
|
||||||
local line = _let_14_[1]
|
|
||||||
local col = _let_14_[2]
|
|
||||||
return (" " .. line .. ":" .. col .. " ")
|
|
||||||
end
|
|
||||||
local function inactive_separator_provider()
|
|
||||||
if (vim.fn.winnr() ~= vim.fn.winnr("j")) then
|
|
||||||
return string.rep("\226\148\128", vim.api.nvim_win_get_width(0))
|
|
||||||
else
|
|
||||||
return ""
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local components = {active = {}, inactive = {}}
|
|
||||||
local function _16_()
|
|
||||||
return vim_mode_hl(false)
|
|
||||||
end
|
|
||||||
local function _17_()
|
|
||||||
return vim_mode_hl(true)
|
|
||||||
end
|
|
||||||
components.active[1] = {{provider = vim_mode, hl = _16_}, {provider = get_current_filepath, left_sep = " ", hl = {fg = colors.light4}}, {provider = git_status_provider, left_sep = " ", hl = _17_}}
|
|
||||||
local function _18_()
|
|
||||||
return (0 < #vim.lsp.buf_get_clients())
|
|
||||||
end
|
|
||||||
components.active[2] = {{provider = lsp_progress_provider, left_sep = " ", right_sep = " ", enabled = _18_}}
|
|
||||||
local function _19_()
|
|
||||||
return vim_mode_hl(true)
|
|
||||||
end
|
|
||||||
local function _20_()
|
|
||||||
return vim_mode_hl(false)
|
|
||||||
end
|
|
||||||
components.active[3] = {{provider = vim.bo.filetype, right_sep = " ", hl = _19_}, lsp_diagnostic_component(vim.diagnostic.severity.INFO, colors.neutral_green), lsp_diagnostic_component(vim.diagnostic.severity.HINT, colors.neutral_aqua), lsp_diagnostic_component(vim.diagnostic.severity.WARN, colors.neutral_yellow), lsp_diagnostic_component(vim.diagnostic.severity.ERROR, colors.neutral_red), {provider = coordinates, hl = _20_}}
|
|
||||||
components.inactive[1] = {{provider = inactive_separator_provider, hl = {bg = "NONE", fg = horiz_separator_color}}}
|
|
||||||
utils["highlight-add"]("StatusLineNC", {bg = "NONE", fg = colors.light1})
|
|
||||||
return feline.setup({theme = {fg = colors.light1, bg = colors.bg_main}, components = components})
|
|
||||||
end
|
|
||||||
return {utils.plugin("Famiu/feline.nvim", {config = setup})}
|
|
|
@ -1,5 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/flutter-tools.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
return {utils.plugin("akinsho/flutter-tools.nvim", {config = true, dependencies = {"nvim-lua/plenary.nvim", "stevearc/dressing.nvim"}, lazy = false})}
|
|
|
@ -1,11 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/gitsigns.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("nfnl.module")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = autoload("dots.utils")
|
|
||||||
local gitsigns = autoload("gitsigns")
|
|
||||||
local function setup()
|
|
||||||
gitsigns.setup({signs = {add = {text = "\226\150\141"}, change = {text = "\226\150\141"}, delete = {text = "\226\150\141"}, topdelete = {text = "\226\150\141"}, changedelete = {text = "\226\150\141"}}, update_debounce = 100, current_line_blame = false})
|
|
||||||
local scrollbar_gitsigns = require("scrollbar.handlers.gitsigns")
|
|
||||||
return scrollbar_gitsigns.setup()
|
|
||||||
end
|
|
||||||
return {utils.plugin("lewis6991/gitsigns.nvim", {dependencies = {"vim-gruvbox8", "petertriho/nvim-scrollbar"}, config = setup})}
|
|
|
@ -1,18 +0,0 @@
|
||||||
local _2afile_2a = "/home/leon/.config/nvim/fnl/dots/plugins/glance.fnl"
|
|
||||||
local _2amodule_name_2a = "dots.plugins.glance"
|
|
||||||
local _2amodule_2a
|
|
||||||
do
|
|
||||||
package.loaded[_2amodule_name_2a] = {}
|
|
||||||
_2amodule_2a = package.loaded[_2amodule_name_2a]
|
|
||||||
end
|
|
||||||
local _2amodule_locals_2a
|
|
||||||
do
|
|
||||||
_2amodule_2a["aniseed/locals"] = {}
|
|
||||||
_2amodule_locals_2a = (_2amodule_2a)["aniseed/locals"]
|
|
||||||
end
|
|
||||||
local autoload = (require("aniseed.autoload")).autoload
|
|
||||||
local a, glance = autoload("aniseed.core"), autoload("glance")
|
|
||||||
do end (_2amodule_locals_2a)["a"] = a
|
|
||||||
_2amodule_locals_2a["glance"] = glance
|
|
||||||
glance.setup()
|
|
||||||
return _2amodule_2a
|
|
|
@ -1,111 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/gruvbox8.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("nfnl.module")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = autoload("dots.utils")
|
|
||||||
local colors = autoload("dots.colors")
|
|
||||||
local function setup()
|
|
||||||
vim.g.gruvbox_italics = 0
|
|
||||||
vim.g.gruvbox_italicise_strings = 0
|
|
||||||
vim.g.gruvbox_filetype_hi_groups = 1
|
|
||||||
vim.g.gruvbox_plugin_hi_groups = 1
|
|
||||||
local function setup_colors()
|
|
||||||
utils["highlight-add"]({"GruvboxBlueSign", "GruvboxAquaSign", "GruvboxRedSign", "GruvboxYellowSign", "GruvboxGreenSign", "GruvboxOrangeSign", "GruvboxPurpleSign"}, {bg = "NONE"})
|
|
||||||
utils.highlight("EndOfBuffer", {bg = "NONE", fg = colors.bg_main})
|
|
||||||
utils.highlight("LineNr", {bg = "NONE"})
|
|
||||||
utils["highlight-add"]("Pmenu", {bg = colors.bg_second})
|
|
||||||
utils["highlight-add"]("PmenuSel", {bg = colors.bright_aqua})
|
|
||||||
utils["highlight-add"]("PmenuSbar", {bg = colors.bg_second})
|
|
||||||
utils["highlight-add"]("PmenuThumb", {bg = colors.dark1})
|
|
||||||
utils["highlight-add"]("NormalFloat", {bg = colors.bg_second})
|
|
||||||
utils["highlight-add"]("SignColumn", {bg = colors.bg_main})
|
|
||||||
utils["highlight-add"]("FloatBorder", {bg = colors.bg_second})
|
|
||||||
utils["highlight-add"]("SpecialComment", {fg = colors.dark4})
|
|
||||||
utils["highlight-add"]({"LspDiagnosticsSignError", "LspDiagnosticsSignWarning", "LspDiagnosticsSignInformation", "LspDiagnosticsSignHint"}, {bg = "NONE"})
|
|
||||||
utils["highlight-add"]("DiagnosticError", {fg = colors.bright_red})
|
|
||||||
utils["highlight-add"]("DiagnosticWarning", {fg = colors.bright_orange})
|
|
||||||
utils["highlight-add"]("DiagnosticInformation", {fg = colors.bright_aqua})
|
|
||||||
utils["highlight-add"]("DiagnosticHint", {fg = colors.bright_yellow})
|
|
||||||
utils["highlight-add"]("DiagnosticVirtualTextError", {bg = "#342828", fg = colors.bright_red})
|
|
||||||
utils["highlight-add"]("DiagnosticVirtualTextWarning", {bg = "#473027", fg = colors.bright_orange})
|
|
||||||
utils["highlight-add"]("DiagnosticVirtualTextWarning", {bg = "#3b2c28", fg = colors.bright_orange})
|
|
||||||
utils["highlight-add"]("DiagnosticVirtualTextInformation", {bg = "#272d2f", fg = colors.bright_aqua})
|
|
||||||
utils["highlight-add"]("DiagnosticVirtualTextHint", {bg = "#272d2f", fg = colors.bright_yellow})
|
|
||||||
utils.highlight("LspDiagnosticsUnderlineError", {gui = "undercurl"})
|
|
||||||
utils.highlight("StatusLine", {bg = colors.dark1, fg = colors.light0})
|
|
||||||
vim.cmd("highlight link Function GruvboxGreen")
|
|
||||||
return utils["highlight-add"]("Function", {gui = "NONE"})
|
|
||||||
end
|
|
||||||
local function setup_telescope_theme()
|
|
||||||
local prompt = "blacker"
|
|
||||||
if (prompt == "bright") then
|
|
||||||
local promptbg = "#689d6a"
|
|
||||||
utils["highlight-add"]("TelescopePromptBorder", {bg = promptbg, fg = promptbg})
|
|
||||||
utils["highlight-add"]("TelescopePromptNormal", {bg = promptbg, fg = colors.bg_main})
|
|
||||||
utils["highlight-add"]("TelescopePromptTitle", {bg = promptbg, fg = colors.dark1})
|
|
||||||
elseif (prompt == "dark") then
|
|
||||||
local promptbg = "#252525"
|
|
||||||
utils["highlight-add"]("TelescopePromptBorder", {bg = promptbg, fg = promptbg})
|
|
||||||
utils["highlight-add"]("TelescopePromptNormal", {bg = promptbg, fg = colors.light2})
|
|
||||||
utils["highlight-add"]("TelescopePromptPrefix", {bg = promptbg, fg = colors.neutral_aqua})
|
|
||||||
utils["highlight-add"]("TelescopePromptTitle", {bg = colors.neutral_blue, fg = colors.dark1})
|
|
||||||
elseif (prompt == "black") then
|
|
||||||
local promptbg = "#212526"
|
|
||||||
utils["highlight-add"]("TelescopePromptBorder", {bg = promptbg, fg = promptbg})
|
|
||||||
utils["highlight-add"]("TelescopePromptNormal", {bg = promptbg, fg = colors.light2})
|
|
||||||
utils["highlight-add"]("TelescopePromptPrefix", {bg = promptbg, fg = colors.neutral_aqua})
|
|
||||||
utils["highlight-add"]("TelescopePromptTitle", {bg = colors.neutral_green, fg = colors.dark1})
|
|
||||||
elseif (prompt == "blacker") then
|
|
||||||
local promptbg = "#1f2324"
|
|
||||||
utils["highlight-add"]("TelescopePromptBorder", {bg = promptbg, fg = promptbg})
|
|
||||||
utils["highlight-add"]("TelescopePromptNormal", {bg = promptbg, fg = colors.light2})
|
|
||||||
utils["highlight-add"]("TelescopePromptPrefix", {bg = promptbg, fg = colors.neutral_aqua})
|
|
||||||
utils["highlight-add"]("TelescopePromptTitle", {bg = colors.neutral_blue, fg = colors.dark1})
|
|
||||||
else
|
|
||||||
end
|
|
||||||
local side = "darker"
|
|
||||||
if (side == "brighter") then
|
|
||||||
local previewbg = "#1f2324"
|
|
||||||
utils["highlight-add"]("TelescopePreviewNormal", {bg = previewbg})
|
|
||||||
utils["highlight-add"]("TelescopePreviewBorder", {bg = previewbg, fg = previewbg})
|
|
||||||
elseif (side == "darker") then
|
|
||||||
local previewbg = "#1a1e1f"
|
|
||||||
utils["highlight-add"]("TelescopePreviewNormal", {bg = previewbg})
|
|
||||||
utils["highlight-add"]("TelescopePreviewBorder", {bg = previewbg, fg = previewbg})
|
|
||||||
else
|
|
||||||
end
|
|
||||||
utils["highlight-add"]("TelescopeBorder", {bg = colors.bg_second, fg = colors.bg_second})
|
|
||||||
utils["highlight-add"]("TelescopeNormal", {bg = colors.bg_second})
|
|
||||||
utils["highlight-add"]("TelescopePreviewTitle", {bg = colors.neutral_green, fg = colors.dark1})
|
|
||||||
utils["highlight-add"]("TelescopeResultsTitle", {bg = colors.neutral_aqua, fg = colors.dark1})
|
|
||||||
return utils["highlight-add"]("TelescopeSelection", {bg = colors.neutral_aqua, fg = colors.dark1})
|
|
||||||
end
|
|
||||||
local function setup_noice_theme()
|
|
||||||
utils["highlight-add"]("NoicePopupmenu", {bg = colors.bg_second})
|
|
||||||
utils["highlight-add"]("NoiceCmdline", {bg = "#1f2324"})
|
|
||||||
utils["highlight-add"]("NoiceCmdlinePopup", {bg = "#1f2324"})
|
|
||||||
utils["highlight-add"]("NoiceCmdlinePrompt", {bg = "#1f2324"})
|
|
||||||
utils["highlight-add"]("NoiceCmdlinePopupBorder", {fg = colors.bright_aqua})
|
|
||||||
return utils["highlight-add"]("NoiceCmdlineIcon", {fg = colors.bright_aqua})
|
|
||||||
end
|
|
||||||
vim.api.nvim_create_autocmd("ColorScheme", {pattern = "*", callback = setup_colors})
|
|
||||||
setup_colors()
|
|
||||||
vim.api.nvim_create_autocmd("ColorScheme", {pattern = "*", callback = setup_telescope_theme})
|
|
||||||
setup_telescope_theme()
|
|
||||||
vim.api.nvim_create_autocmd("ColorScheme", {pattern = "*", callback = setup_noice_theme})
|
|
||||||
setup_noice_theme()
|
|
||||||
local function _4_()
|
|
||||||
utils["highlight-add"]("GitSignsAdd", {gui = "NONE", bg = "NONE", fg = colors.bright_aqua})
|
|
||||||
utils["highlight-add"]("GitSignsDelete", {gui = "NONE", bg = "NONE", fg = colors.neutral_red})
|
|
||||||
utils["highlight-add"]("GitSignsChange", {gui = "NONE", bg = "NONE", fg = colors.bright_blue})
|
|
||||||
utils["highlight-add"]("ScrollbarGitAdd", {gui = "NONE", bg = "NONE", fg = colors.bright_aqua})
|
|
||||||
utils["highlight-add"]("ScrollbarGitDelete", {gui = "NONE", bg = "NONE", fg = colors.neutral_red})
|
|
||||||
return utils["highlight-add"]("ScrollbarGitChange", {gui = "NONE", bg = "NONE", fg = colors.bright_blue})
|
|
||||||
end
|
|
||||||
vim.api.nvim_create_autocmd("ColorScheme", {pattern = "*", callback = _4_})
|
|
||||||
if ("epix" == vim.fn.hostname()) then
|
|
||||||
return vim.cmd("colorscheme gruvbox8_hard")
|
|
||||||
else
|
|
||||||
return vim.cmd("colorscheme gruvbox8")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return {utils.plugin("lifepillar/vim-gruvbox8", {priority = 1000, config = setup, lazy = false})}
|
|
|
@ -1,163 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/lsp.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local a = _local_1_["a"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local lsp = autoload("lspconfig")
|
|
||||||
local lsp_configs = autoload("lspconfig/configs")
|
|
||||||
local cmp_nvim_lsp = autoload("cmp_nvim_lsp")
|
|
||||||
local function setup()
|
|
||||||
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {virtual_text = {prefix = "\226\151\134"}, severity_sort = true, signs = false, update_in_insert = false})
|
|
||||||
local function on_attach(client, bufnr)
|
|
||||||
if client.server_capabilities.documentHighlight then
|
|
||||||
utils.highlight("LspReferenceRead", {gui = "underline"})
|
|
||||||
utils.highlight("LspReferenceText", {gui = "underline"})
|
|
||||||
utils.highlight("LspReferenceWrite", {gui = "underline"})
|
|
||||||
return vim.api.nvim_exec("augroup lsp_document_highlight\n autocmd! * <buffer> \n autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight() \n autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()\n augroup END", false)
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local function better_root_pattern(patterns, except_patterns)
|
|
||||||
local function _3_(path)
|
|
||||||
if not lsp.util.root_pattern(except_patterns)(path) then
|
|
||||||
return lsp.util.root_pattern(patterns)(path)
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return _3_
|
|
||||||
end
|
|
||||||
local default_capabilities
|
|
||||||
do
|
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|
||||||
default_capabilities = cmp_nvim_lsp.default_capabilities(capabilities)
|
|
||||||
end
|
|
||||||
local function init_lsp(lsp_name, _3fopts)
|
|
||||||
local merged_opts = a.merge({on_attach = on_attach, capabilities = default_capabilities}, (_3fopts or {}))
|
|
||||||
return lsp[lsp_name].setup(merged_opts)
|
|
||||||
end
|
|
||||||
local function _5_()
|
|
||||||
return vim.lsp.buf.range_formatting({}, {0, 0}, {vim.fn.line("$"), 0})
|
|
||||||
end
|
|
||||||
init_lsp("jsonls", {commands = {Format = {_5_}}})
|
|
||||||
init_lsp("denols", {root_dir = better_root_pattern({".git"}, {"package.json"})})
|
|
||||||
init_lsp("hls", {settings = {languageServerHaskell = {formattingProvider = "stylish-haskell"}}})
|
|
||||||
init_lsp("ocamllsp")
|
|
||||||
init_lsp("vimls")
|
|
||||||
init_lsp("gopls")
|
|
||||||
init_lsp("bashls")
|
|
||||||
init_lsp("erlangls")
|
|
||||||
init_lsp("yamlls")
|
|
||||||
init_lsp("html")
|
|
||||||
init_lsp("svelte")
|
|
||||||
init_lsp("elmls")
|
|
||||||
init_lsp("texlab")
|
|
||||||
init_lsp("pyright")
|
|
||||||
init_lsp("vls")
|
|
||||||
init_lsp("perlls")
|
|
||||||
init_lsp("powershell_es", {bundle_path = "/home/leon/powershell"})
|
|
||||||
init_lsp("clangd")
|
|
||||||
init_lsp("cssls", {filestypes = {"css", "scss", "less", "stylus"}, root_dir = lsp.util.root_pattern({"package.json", ".git"}), settings = {css = {validate = true}, less = {validate = true}, scss = {validate = true}}})
|
|
||||||
local function _6_(client, bufnr)
|
|
||||||
client.resolved_capabilities.document_formatting = false
|
|
||||||
return on_attach(client, bufnr)
|
|
||||||
end
|
|
||||||
lsp.tsserver.setup({root_dir = lsp.util.root_pattern("package.json"), on_attach = _6_})
|
|
||||||
do
|
|
||||||
local rustaceanvim = require("rustaceanvim")
|
|
||||||
local rustaceanvim_config = require("rustaceanvim.config")
|
|
||||||
local extension_path = "/home/leon/.vscode/extensions/vadimcn.vscode-lldb-1.6.8/"
|
|
||||||
local codelldb_path = (extension_path .. "adapter/codelldb")
|
|
||||||
local liblldb_path = (extension_path .. "lldb/lib/liblldb.so")
|
|
||||||
local features = nil
|
|
||||||
vim.g.rustaceanvim = {tools = {inlay_hints = {show_parameter_hints = false}, autoSetHints = false}, dap = {adapter = rustaceanvim_config.get_codelldb_adapter(codelldb_path, liblldb_path)}, server = {on_attach = on_attach, capabilities = default_capabilities, settings = {["rust-analyzer"] = {cargo = {loadOutDirsFromCheck = true, features = (features or "all"), noDefaultFeatures = (nil ~= features)}, procMacro = {enable = true}, diagnostics = {experimental = {enable = false}, enable = false}, checkOnSave = {overrideCommand = {"cargo", "clippy", "--workspace", "--message-format=json", "--all-targets", "--all-features"}}}}}}
|
|
||||||
end
|
|
||||||
if (true or not lsp.fennel_language_server) then
|
|
||||||
lsp_configs["fennel_language_server"] = {default_config = {cmd = "/Users/leon/.cargo/bin/fennel-language-server", filetypes = {"fennel"}, single_file_support = true, root_dir = lsp.util.root_pattern({"fnl", "init.lua"}), settings = {fennel = {workspace = {library = vim.api.nvim_list_runtime_paths()}, diagnostics = {globals = {"vim"}}}}}}
|
|
||||||
else
|
|
||||||
end
|
|
||||||
init_lsp("fennel_language_server", {root_dir = lsp.util.root_pattern({"fnl", "init.lua"}), settings = {fennel = {workspace = {library = vim.api.nvim_list_runtime_paths()}, diagnostics = {globals = {"vim", "comment"}}}}})
|
|
||||||
--[[ (when (not lsp.prolog_lsp) (tset lsp-configs "prolog_lsp" {:default_config {:cmd ["swipl" "-g" "use_module(library(lsp_server))." "-g" "lsp_server:main" "-t" "halt" "--" "stdio"] :filetypes ["prolog"] :root_dir (fn [fname] (or (lsp.util.find_git_ancestor fname) (vim.loop.os_homedir))) :settings {}}})) (lsp.prolog_lsp.setup {}) ]]
|
|
||||||
--[[ (let [ewwls-path "/home/leon/coding/projects/ls-eww/crates/ewwls/target/debug/ewwls"] (when (vim.fn.filereadable ewwls-path) (when (not lsp.ewwls) (set lsp-configs.ewwls {:default_config {:cmd [ewwls-path] :filetypes ["yuck"] :root_dir (fn [fname] (or (lsp.util.find_git_ancestor fname) (vim.loop.os_homedir))) :settings {}}})) (init-lsp "ewwls"))) ]]
|
|
||||||
local autostart_semantic_highlighting = true
|
|
||||||
local function refresh_semantic_highlighting()
|
|
||||||
if autostart_semantic_highlighting then
|
|
||||||
vim.lsp.buf_request(0, "textDocument/semanticTokens/full", {textDocument = vim.lsp.util.make_text_document_params()}, nil)
|
|
||||||
return vim.NIL
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
if not lsp.idris2_lsp then
|
|
||||||
local function _9_(new_config, new_root_dir)
|
|
||||||
new_config.cmd = {"idris2-lsp"}
|
|
||||||
new_config.capabilities.workspace.semanticTokens = {refreshSupport = true}
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
local function _10_(fname)
|
|
||||||
local scandir = require("plenary.scandir")
|
|
||||||
local function find_ipkg_ancestor(fname0)
|
|
||||||
local function _11_(path)
|
|
||||||
local res = scandir.scan_dir(path, {depth = 1, search_pattern = ".+%.ipkg"})
|
|
||||||
if not vim.tbl_isempty(res) then
|
|
||||||
return path
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return lsp.util.search_ancestors(fname0, _11_)
|
|
||||||
end
|
|
||||||
return ((find_ipkg_ancestor(fname) or lsp.util.find_git_ancestor(fname)) or vim.loop.os_homedir())
|
|
||||||
end
|
|
||||||
lsp_configs.idris2_lsp = {default_config = {cmd = {"idris2-lsp"}, filetypes = {"idris2"}, on_new_config = _9_, root_dir = _10_, settings = {}}}
|
|
||||||
else
|
|
||||||
end
|
|
||||||
local function _14_(err, method, result, client_id, bufnr, config)
|
|
||||||
local client = vim.lsp.get_client_by_id(client_id)
|
|
||||||
local legend = client.server_capabilities.semanticTokensProvider.legend
|
|
||||||
local token_types = legend.tokenTypes
|
|
||||||
local data = result.data
|
|
||||||
local ns = vim.api.nvim_create_namespace("nvim-lsp-semantic")
|
|
||||||
vim.api.nvim_buf_clear_namespace(bufnr, ns, 0, ( - 1))
|
|
||||||
local tokens = {}
|
|
||||||
local prev_line, prev_start = nil, 0
|
|
||||||
for i = 1, #data, 5 do
|
|
||||||
local delta_line = data[i]
|
|
||||||
prev_line = ((prev_line and (prev_line + delta_line)) or delta_line)
|
|
||||||
local delta_start = data[(i + 1)]
|
|
||||||
prev_start = (((delta_line == 0) and (prev_start + delta_start)) or delta_start)
|
|
||||||
local token_type = token_types[(data[(i + 3)] + 1)]
|
|
||||||
vim.api.nvim_buf_add_highlight(bufnr, ns, ("LspSemantic_" .. token_type), prev_line, prev_start, (prev_start + data[(i + 2)]))
|
|
||||||
end
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
lsp.idris2_lsp.setup({on_attach = refresh_semantic_highlighting, autostart = true, handlers = {["workspace/semanticTokens/refresh"] = refresh_semantic_highlighting, ["textDocument/semanticTokens/full"] = _14_}})
|
|
||||||
vim.cmd("highlight link LspSemantic_type Include")
|
|
||||||
vim.cmd("highlight link LspSemantic_function Identifier")
|
|
||||||
vim.cmd("highlight link LspSemantic_struct Number")
|
|
||||||
vim.cmd("highlight LspSemantic_variable guifg=gray")
|
|
||||||
vim.cmd("highlight link LspSemantic_keyword Structure")
|
|
||||||
vim.opt.signcolumn = "yes"
|
|
||||||
local function cleanup_markdown(contents)
|
|
||||||
if (contents.kind == "markdown") then
|
|
||||||
contents["value"] = string.gsub(contents.value, "%[([^%]]+)%]%(([^%)]+)%)", "[%1]")
|
|
||||||
else
|
|
||||||
end
|
|
||||||
return contents
|
|
||||||
end
|
|
||||||
local previous_handler = vim.lsp.handlers["textDocument/hover"]
|
|
||||||
local function _16_(a0, result, b, c)
|
|
||||||
if not (result and result.contents) then
|
|
||||||
return previous_handler(a0, result, b, c)
|
|
||||||
else
|
|
||||||
local new_contents = cleanup_markdown(result.contents)
|
|
||||||
do end (result)["contents"] = new_contents
|
|
||||||
return previous_handler(a0, result, b, c)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
vim.lsp.handlers["textDocument/hover"] = _16_
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
return {utils.plugin("neovim/nvim-lspconfig", {event = "VeryLazy", lazy = true, config = setup})}
|
|
|
@ -1,182 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/ltex-ls.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local lsp = autoload("lspconfig")
|
|
||||||
local configs = autoload("lspconfig/configs")
|
|
||||||
local lsputil = autoload("lspconfig/util")
|
|
||||||
local function cmds(xs)
|
|
||||||
local tbl_17_auto = {}
|
|
||||||
local i_18_auto = #tbl_17_auto
|
|
||||||
for _, x in ipairs(xs) do
|
|
||||||
local val_19_auto = ("\\" .. x .. "{}")
|
|
||||||
if (nil ~= val_19_auto) then
|
|
||||||
i_18_auto = (i_18_auto + 1)
|
|
||||||
do end (tbl_17_auto)[i_18_auto] = val_19_auto
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return tbl_17_auto
|
|
||||||
end
|
|
||||||
local latex_command_settings = {dummy = cmds({"texttt", "scripture", "lstref", "figref", "tblref", "secref", "personaltextcite", "personalparencite", "textcite", "parencite", "parencite[]", "game", "acsu", "enquote", "name", "item", "reqref", "gamebtn", "fs", "cs", "appref", "sorty"}), ignore = cmds({"urlfootnote", "caption", "todo"})}
|
|
||||||
local Dictionary_file = {["de-DE"] = {(vim.fn.getenv("HOME") .. "/.config/ltex-ls/dictionary.txt")}}
|
|
||||||
local Disabled_rules_file = {["de-DE"] = {(vim.fn.getenv("HOME") .. "/.config/ltex-ls/disable.txt")}}
|
|
||||||
local False_positives_file = {["de-DE"] = {(vim.fn.getenv("HOME") .. "/.config/ltex-ls/false.txt")}}
|
|
||||||
local latex_command_settings_formatted
|
|
||||||
do
|
|
||||||
local tbl = {}
|
|
||||||
for option, commands in pairs(latex_command_settings) do
|
|
||||||
for _, command in ipairs(commands) do
|
|
||||||
tbl[command] = option
|
|
||||||
end
|
|
||||||
end
|
|
||||||
latex_command_settings_formatted = tbl
|
|
||||||
end
|
|
||||||
local function read_files(files)
|
|
||||||
local dict = {}
|
|
||||||
for _, file in ipairs(files) do
|
|
||||||
local f = io.open(file, "r")
|
|
||||||
if (nil ~= f) then
|
|
||||||
for l in f:lines() do
|
|
||||||
table.insert(dict, l)
|
|
||||||
end
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return dict
|
|
||||||
end
|
|
||||||
local function find_ltex_lang()
|
|
||||||
local buf_clients = vim.lsp.buf_get_clients()
|
|
||||||
for _, client in ipairs(buf_clients) do
|
|
||||||
if (client.name == "ltex") then
|
|
||||||
local ___antifnl_rtn_1___ = client.config.settings.ltex.language
|
|
||||||
return ___antifnl_rtn_1___
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
local function find_ltex_files(filetype, value)
|
|
||||||
if (filetype == "dictionary") then
|
|
||||||
return Dictionary_file[(value or find_ltex_lang())]
|
|
||||||
elseif (filetype == "disable") then
|
|
||||||
return Disabled_rules_file[(value or find_ltex_lang())]
|
|
||||||
elseif (filetype == "falsePositive") then
|
|
||||||
return False_positives_file[(value or find_ltex_lang())]
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local function update_config(lang, configtype)
|
|
||||||
local buf_clients = vim.lsp.buf_get_clients()
|
|
||||||
local client = nil
|
|
||||||
for _, lsp0 in ipairs(buf_clients) do
|
|
||||||
if (lsp0.name == "ltex") then
|
|
||||||
client = lsp0
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
|
||||||
if client then
|
|
||||||
if (configtype == "dictionary") then
|
|
||||||
if client.config.settings.ltex.dictionary then
|
|
||||||
client.config.settings.ltex.dictionary = {[lang] = read_files(Dictionary_file[lang])}
|
|
||||||
return client.notify("workspace/didChangeConfiguration", client.config.settings)
|
|
||||||
else
|
|
||||||
return vim.notify("Error when reading dictionary config, check it")
|
|
||||||
end
|
|
||||||
elseif (configtype == "disable") then
|
|
||||||
if client.config.settings.ltex.disabledRules then
|
|
||||||
client.config.settings.ltex.disabledRules = {[lang] = read_files(Disabled_rules_file[lang])}
|
|
||||||
return client.notify("workspace/didChangeConfiguration", client.config.settings)
|
|
||||||
else
|
|
||||||
return vim.notify("Error when reading disabledRules config, check it")
|
|
||||||
end
|
|
||||||
elseif (configtype == "falsePositive") then
|
|
||||||
if client.config.settings.ltex.hiddenFalsePositives then
|
|
||||||
client.config.settings.ltex.hiddenFalsePositives = {[lang] = read_files(False_positives_file[lang])}
|
|
||||||
return client.notify("workspace/didChangeConfiguration", client.config.settings)
|
|
||||||
else
|
|
||||||
return vim.notify("Error when reading hiddenFalsePositives config, check it")
|
|
||||||
end
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local function add_to_file(filetype, lang, file, value)
|
|
||||||
file = io.open(file[(#file - 0)], "a+")
|
|
||||||
if file then
|
|
||||||
file:write((value .. "\n"))
|
|
||||||
file:close()
|
|
||||||
else
|
|
||||||
local ___antifnl_rtns_1___ = {print("Failed insert %q", value)}
|
|
||||||
return (table.unpack or _G.unpack)(___antifnl_rtns_1___)
|
|
||||||
end
|
|
||||||
if (filetype == "dictionary") then
|
|
||||||
return update_config(lang, "dictionary")
|
|
||||||
elseif (filetype == "disable") then
|
|
||||||
return update_config(lang, "disable")
|
|
||||||
elseif (filetype == "falsePositive") then
|
|
||||||
return update_config(lang, "falsePositive")
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
local function add_to(filetype, lang, file, value)
|
|
||||||
local dict = read_files(file)
|
|
||||||
for _, v in ipairs(dict) do
|
|
||||||
if (v == value) then
|
|
||||||
return nil
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return add_to_file(filetype, lang, file, value)
|
|
||||||
end
|
|
||||||
local function init()
|
|
||||||
local function _15_(filename)
|
|
||||||
return lsputil.path.dirname(filename)
|
|
||||||
end
|
|
||||||
configs.ltex = {default_config = {cmd = {"ltex-ls"}, filetypes = {"tex", "latex", "bib"}, root_dir = _15_}}
|
|
||||||
lsp.ltex.setup({settings = {ltex = {enabled = {"latex", "tex", "bib"}, language = "de-DE", checkFrequency = "save", diagnosticSeverity = "information", setenceCacheSize = 5000, additionalRules = {enablePickyRules = true, motherTongue = "de-DE"}, dictionary = utils["map-values"](read_files, Dictionary_file), disabledRules = utils["map-values"](read_files, Disabled_rules_file), hiddenFalsePositives = utils["map-values"](read_files, False_positives_file), latex = {commands = latex_command_settings_formatted}}}})
|
|
||||||
lsp.ltex.dictionary_file = Dictionary_file
|
|
||||||
lsp.ltex.disabledrules_file = Disabled_rules_file
|
|
||||||
lsp.ltex.falsepostivies_file = False_positives_file
|
|
||||||
local orig_execute_command = vim.lsp.buf.execute_command
|
|
||||||
local function _16_(command)
|
|
||||||
if (command.command == "_ltex.addToDictionary") then
|
|
||||||
local arg = (command.arguments[1]).words
|
|
||||||
for lang, words in pairs(arg) do
|
|
||||||
for _, word in ipairs(words) do
|
|
||||||
local filetype = "dictionary"
|
|
||||||
add_to(filetype, lang, find_ltex_files(filetype, lang), word)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return nil
|
|
||||||
elseif (command.command == "_ltex.disableRules") then
|
|
||||||
local arg = (command.arguments[1]).ruleIds
|
|
||||||
for lang, rules in pairs(arg) do
|
|
||||||
for _, rule in ipairs(rules) do
|
|
||||||
local filetype = "disable"
|
|
||||||
add_to(filetype, lang, find_ltex_files(filetype, lang), rule)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return nil
|
|
||||||
elseif (command.command == "_ltex.hideFalsePositives") then
|
|
||||||
local arg = (command.arguments[1]).falsePositives
|
|
||||||
for lang, rules in pairs(arg) do
|
|
||||||
for _, rule in ipairs(rules) do
|
|
||||||
local filetype = "falsePositive"
|
|
||||||
add_to(filetype, lang, find_ltex_files(filetype, lang), rule)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return nil
|
|
||||||
else
|
|
||||||
return orig_execute_command(command)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
vim.lsp.buf.execute_command = _16_
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
return {}
|
|
|
@ -1,18 +0,0 @@
|
||||||
local _2afile_2a = "/home/leon/.config/nvim/fnl/dots/plugins/neogit.fnl"
|
|
||||||
local _2amodule_name_2a = "dots.plugins.neogit"
|
|
||||||
local _2amodule_2a
|
|
||||||
do
|
|
||||||
package.loaded[_2amodule_name_2a] = {}
|
|
||||||
_2amodule_2a = package.loaded[_2amodule_name_2a]
|
|
||||||
end
|
|
||||||
local _2amodule_locals_2a
|
|
||||||
do
|
|
||||||
_2amodule_2a["aniseed/locals"] = {}
|
|
||||||
_2amodule_locals_2a = (_2amodule_2a)["aniseed/locals"]
|
|
||||||
end
|
|
||||||
local autoload = (require("aniseed.autoload")).autoload
|
|
||||||
local a, neogit = autoload("aniseed.core"), autoload("neogit")
|
|
||||||
do end (_2amodule_locals_2a)["a"] = a
|
|
||||||
_2amodule_locals_2a["neogit"] = neogit
|
|
||||||
neogit.setup({integrations = {diffview = true}})
|
|
||||||
return _2amodule_2a
|
|
|
@ -1,4 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/noice.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local utils = require("dots.utils")
|
|
||||||
do local _ = {utils.plugin("folke/noice.nvim", {dependencies = {"MunifTanjim/nui.nvim"}, opts = {presets = {inc_rename = true, long_message_to_split = true, bottom_search = true}, lsp = {override = {["vim.lsp.util.convert_input_to_markdown_lines"] = true, ["vim.lsp.util.stylize_markdown"] = true, ["cmp.entry.get_documentation"] = true}}, views = {cmdline_popup = {border = {style = "none", padding = {1, 1}}, position = {row = 5, col = "50%"}, size = {width = 60, height = "auto"}}, popupmenu = {relative = "editor", border = {style = "none", padding = {1, 1}}, position = {row = 8, col = "50%"}, size = {width = 60, height = 10}}, mini = {max_height = 5}}, cmdline = {view = "cmdline", format = {cmdline = {icon = ":"}, help = false, lua = false}}, messages = {view = "mini", view_error = "cmdline_output", view_warn = "mini", view_search = "virtualtext"}, markdown = {hover = {["|(%S-)|"] = vim.cmd.help}}, routes = {{view = "notify", filter = {event = "msg_showmode"}}, {view = "mini", filter = {error = true, max_height = 5}}, {view = "cmdline_output", filter = {error = true, min_height = 6}}}}})} end
|
|
||||||
return {}
|
|
|
@ -1,9 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/nvim-colorizer.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local colorizer = autoload("colorizer")
|
|
||||||
local function _2_()
|
|
||||||
return colorizer.setup({"*"}, {RGB = true, RRGGBB = true, names = true, RRGGBBAA = true, rgb_fn = true, hsl_fn = true, mode = "background"})
|
|
||||||
end
|
|
||||||
return {utils.plugin("norcalli/nvim-colorizer.lua", {event = "VeryLazy", lazy = true, config = _2_})}
|
|
|
@ -1,6 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/obsidian.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local vault_path = (vim.fn.expand("~") .. "/Documents/obsidian-vault")
|
|
||||||
return {utils.plugin("epwalsh/obsidian.nvim", {lazy = true, version = "*", ft = "markdown", event = {("BufReadPre " .. vault_path .. "/**.md"), ("BufNewFile " .. vault_path .. "/**.md")}, dependencies = {"nvim-lua/plenary.nvim"}, opts = {workspaces = {{name = "Vault", path = vault_path}}, completion = {nvim_cmp = true}}})}
|
|
|
@ -1,17 +0,0 @@
|
||||||
local _2afile_2a = "/home/leon/.config/nvim/fnl/dots/plugins/persistence.fnl"
|
|
||||||
local _2amodule_name_2a = "dots.plugins.persistence"
|
|
||||||
local _2amodule_2a
|
|
||||||
do
|
|
||||||
package.loaded[_2amodule_name_2a] = {}
|
|
||||||
_2amodule_2a = package.loaded[_2amodule_name_2a]
|
|
||||||
end
|
|
||||||
local _2amodule_locals_2a
|
|
||||||
do
|
|
||||||
_2amodule_2a["aniseed/locals"] = {}
|
|
||||||
_2amodule_locals_2a = (_2amodule_2a)["aniseed/locals"]
|
|
||||||
end
|
|
||||||
local autoload = (require("aniseed.autoload")).autoload
|
|
||||||
local persistence = autoload("persistence")
|
|
||||||
do end (_2amodule_locals_2a)["persistence"] = persistence
|
|
||||||
persistence.setup({dir = vim.fn.expand((vim.fn.stdpath("cache") .. "/sessions/"))})
|
|
||||||
return _2amodule_2a
|
|
|
@ -1,26 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/plugins.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local function _1_()
|
|
||||||
do end (require("lsp_lines")).setup()
|
|
||||||
return vim.diagnostic.config({virtual_lines = false})
|
|
||||||
end
|
|
||||||
local function _2_()
|
|
||||||
do end (require("litee.lib")).setup()
|
|
||||||
return (require("litee.gh")).setup()
|
|
||||||
end
|
|
||||||
local function _3_()
|
|
||||||
vim.g.code_action_menu_show_details = false
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
local function _4_()
|
|
||||||
vim.g.antifennel_executable = "/home/leon/tmp/antifennel/antifennel"
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
local function _5_()
|
|
||||||
vim.g.vlime_overlay = "slimv"
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
local function _6_()
|
|
||||||
vim.g.rustfmt_fail_silently = 1
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
return {"Olical/aniseed", "Olical/nfnl", "nvim-lua/plenary.nvim", "norcalli/nvim.lua", "kyazdani42/nvim-web-devicons", "folke/which-key.nvim", {"ckipp01/nvim-jenkinsfile-linter", dependencies = {"nvim-lua/plenary.nvim"}}, "psliwka/vim-smoothie", {"nathanaelkane/vim-indent-guides", cmd = {"IndentGuidesToggle"}}, {"luukvbaal/stabilize.nvim", config = true}, {"stevearc/dressing.nvim", config = true}, {"tweekmonster/startuptime.vim", cmd = {"StartupTime"}}, {"moll/vim-bbye", lazy = true, cmd = {"Bdelete", "Bwipeout"}}, {"petertriho/nvim-scrollbar", event = "VeryLazy", lazy = true, config = true}, {"TimUntersberger/neogit", opts = {integrations = {diffview = true}}, cmd = {"Neogit"}}, {"folke/persistence.nvim", opts = {dir = vim.fn.expand((vim.fn.stdpath("cache") .. "/sessions/"))}}, {"https://git.sr.ht/~whynothugo/lsp_lines.nvim", config = _1_}, "jiangmiao/auto-pairs", "tpope/vim-repeat", {"preservim/nerdcommenter", event = "VeryLazy", lazy = true, priority = 1000}, {"godlygeek/tabular", cmd = {"Tabularize"}}, "tpope/vim-surround", "hauleth/sad.vim", "wellle/targets.vim", {"mg979/vim-visual-multi", lazy = true, event = "VeryLazy"}, "tommcdo/vim-exchange", {"phaazon/hop.nvim", lazy = true, event = "VeryLazy", opts = {keys = "jfkdls;amvieurow"}}, {"rcarriga/nvim-dap-ui", lazy = true, config = true, dependencies = {"mfussenegger/nvim-dap", "nvim-neotest/nvim-nio"}}, {"mfussenegger/nvim-dap", lazy = true}, {"nvim-telescope/telescope-dap.nvim", lazy = true, dependencies = {"nvim-telescope/telescope.nvim", "mfussenegger/nvim-dap"}}, {"ldelossa/gh.nvim", lazy = true, config = _2_, dependencies = {"ldelossa/litee.nvim"}}, {"pwntester/octo.nvim", lazy = true, dependencies = {"nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim", "kyazdani42/nvim-web-devicons"}, config = true}, "ruanyl/vim-gh-line", "rhysd/conflict-marker.vim", {"tpope/vim-fugitive", lazy = true, event = "VeryLazy"}, {"ray-x/lsp_signature.nvim", event = "BufEnter"}, {"weilbith/nvim-code-action-menu", cmd = "CodeActionMenu", config = _3_}, {"dnlhc/glance.nvim", lazy = true, config = true}, {"smjonas/inc-rename.nvim", opts = {input_buffer_type = "dressing"}}, {"monkoose/nvlime", ft = {"lisp"}, dependencies = {"monkoose/parsley"}}, "tpope/vim-sleuth", "editorconfig/editorconfig-vim", "sbdchd/neoformat", {"elkowar/antifennel-nvim", config = _4_}, {"Olical/conjure", ft = {"fennel"}}, {"eraserhd/parinfer-rust", build = "cargo build --release"}, "kmonad/kmonad-vim", {"elkowar/yuck.vim", ft = {"yuck"}}, {"cespare/vim-toml", ft = {"toml"}}, {"bduggan/vim-raku", ft = {"raku"}}, {"LnL7/vim-nix", ft = {"nix"}}, {"kevinoid/vim-jsonc"}, {"pangloss/vim-javascript", ft = {"javascript"}}, {"ianks/vim-tsx", ft = {"typescript-react"}}, {"leafgarland/typescript-vim", ft = {"typescript", "typescript-react", "javascript"}}, {"HerringtonDarkholme/yats.vim"}, {"mxw/vim-jsx"}, {"purescript-contrib/purescript-vim", ft = {"purescript"}}, {"derekelkins/agda-vim", ft = {"agda"}}, {"neovimhaskell/haskell-vim", ft = {"haskell"}}, {"monkoose/nvlime", ft = {"lisp"}, dependencies = {"monkoose/parsley"}, config = _5_}, {"rust-lang/rust.vim", ft = {"rust"}, dependencies = {"mattn/webapi-vim"}, config = _6_}, {"Saecki/crates.nvim", dependencies = {"nvim-lua/plenary.nvim"}, opts = {disable_invalid_feature_diagnostic = true, enable_update_available_warning = false}}, {"mrcjkb/rustaceanvim", version = "^4", ft = {"rust", "toml"}}, {"qnighy/lalrpop.vim"}, {"edwinb/idris2-vim", ft = {"idris2"}}, {"vmchale/ats-vim", ft = {"ats", "dats", "sats"}}, {"bakpakin/fennel.vim", ft = {"fennel"}}, {"evanleck/vim-svelte"}}
|
|
|
@ -1,19 +0,0 @@
|
||||||
local _2afile_2a = "/home/leon/.config/nvim/fnl/dots/plugins/sneak.fnl"
|
|
||||||
local _2amodule_name_2a = "dots.plugins.sneak"
|
|
||||||
local _2amodule_2a
|
|
||||||
do
|
|
||||||
package.loaded[_2amodule_name_2a] = {}
|
|
||||||
_2amodule_2a = package.loaded[_2amodule_name_2a]
|
|
||||||
end
|
|
||||||
local _2amodule_locals_2a
|
|
||||||
do
|
|
||||||
_2amodule_2a["aniseed/locals"] = {}
|
|
||||||
_2amodule_locals_2a = (_2amodule_2a)["aniseed/locals"]
|
|
||||||
end
|
|
||||||
local autoload = (require("aniseed.autoload")).autoload
|
|
||||||
local utils = autoload("dots.utils")
|
|
||||||
do end (_2amodule_locals_2a)["utils"] = utils
|
|
||||||
vim.g["sneak#label"] = 1
|
|
||||||
utils.keymap({"n", "o"}, "<DEL>", "<Plug>Sneak_s", {noremap = false})
|
|
||||||
utils.keymap({"n", "o"}, "<S-DEL>", "<Plug>Sneak_S", {noremap = false})
|
|
||||||
return _2amodule_2a
|
|
|
@ -1,16 +0,0 @@
|
||||||
local _2afile_2a = "/home/leon/.config/nvim/fnl/dots/plugins/symbols-outline.fnl"
|
|
||||||
local _2amodule_name_2a = "dots.plugins.symbols-outline"
|
|
||||||
local _2amodule_2a
|
|
||||||
do
|
|
||||||
package.loaded[_2amodule_name_2a] = {}
|
|
||||||
_2amodule_2a = package.loaded[_2amodule_name_2a]
|
|
||||||
end
|
|
||||||
local _2amodule_locals_2a
|
|
||||||
do
|
|
||||||
_2amodule_2a["aniseed/locals"] = {}
|
|
||||||
_2amodule_locals_2a = (_2amodule_2a)["aniseed/locals"]
|
|
||||||
end
|
|
||||||
local symbols_outline = require("symbols-outline")
|
|
||||||
do end (_2amodule_locals_2a)["symbols-outline"] = symbols_outline
|
|
||||||
symbols_outline.setup({highlight_hovered_item = true, show_guides = true})
|
|
||||||
return _2amodule_2a
|
|
|
@ -1,12 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/telescope.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local telescope = autoload("telescope")
|
|
||||||
local actions = autoload("telescope.actions")
|
|
||||||
local function setup()
|
|
||||||
telescope.setup({defaults = {mappings = {i = {["<esc>"] = actions.close}}, file_ignore_patterns = {"Cargo.lock", ".*.snap", "docs/theme/.*", "node%_modules/.*", "target/.*"}}, extensions = {["ui-select"] = {(require("telescope.themes")).get_dropdown()}}})
|
|
||||||
telescope.load_extension("dap")
|
|
||||||
return utils.keymap("n", "<C-p>", ":Telescope find_files<CR>")
|
|
||||||
end
|
|
||||||
return {utils.plugin("nvim-telescope/telescope.nvim", {config = setup, cmd = {"Telescope"}, dependencies = {"nvim-lua/popup.nvim", "nvim-lua/plenary.nvim"}})}
|
|
|
@ -1,3 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/todo-comments.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local utils = require("dots.utils")
|
|
||||||
return {utils.plugin("folke/todo-comments.nvim", {lazy = true, event = "VeryLazy", opts = {keywords = {TODO = {icon = "\239\128\140 "}, WARN = {icon = "\239\129\177 ", alt = {"WARNING", "XXX", "!!!"}}, NOTE = {icon = "\239\137\137 ", alt = {"INFO"}}, FIX = {icon = "\239\134\136 ", alt = {"FIXME", "BUG", "FIXIT", "ISSUE", "PHIX"}}, PERF = {icon = "\239\128\151 ", alt = {"OPTIM", "PERFORMANCE", "OPTIMIZE"}}, HACK = {icon = "\239\146\144 "}}}})}
|
|
|
@ -1,7 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/treesitter.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local utils = require("dots.utils")
|
|
||||||
local function setup()
|
|
||||||
local configs = require("nvim-treesitter.configs")
|
|
||||||
return configs.setup({ensure_installed = {"rust", "fennel", "commonlisp", "vim", "regex", "lua", "bash", "markdown", "markdown_inline"}, highlight = {disable = {"fennel", "rust", "haskell"}, enable = false}, incremental_selection = {keymaps = {init_selection = "gss", node_incremental = "gsl", node_decremental = "gsh", scope_incremental = "gsj", scope_decremental = "gsk"}, enable = false}, textsubjects = {enable = true, disable = {"noice"}, prev_selection = ",", keymaps = {["."] = "textsubjects-smart"}}, playground = {disable = {"fennel"}, updatetime = 25, keybindings = {toggle_query_editor = "o", toggle_hl_groups = "i", toggle_injected_languages = "t", toggle_anonymous_nodes = "a", toggle_language_display = "I", focus_language = "f", unfocus_language = "F", update = "R", goto_node = "<cr>", show_help = "?"}, enable = false, persist_queries = false}})
|
|
||||||
end
|
|
||||||
return {}
|
|
|
@ -1,17 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/trouble.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local _local_1_ = require("dots.prelude")
|
|
||||||
local autoload = _local_1_["autoload"]
|
|
||||||
local utils = _local_1_["utils"]
|
|
||||||
local colors = _local_1_["colors"]
|
|
||||||
local trouble = autoload("trouble")
|
|
||||||
local function setup()
|
|
||||||
trouble.setup({auto_close = true, auto_jump = {"lsp_definitions", "lsp_workspace_diagnostics", "lsp_type_definitions"}, action_keys = {jump = "<CR>", jump_close = "o", close = {"<esc>", "q"}, cancel = "q", preview = "p", toggle_preview = "P", toggle_mode = "m", hover = {"a", "K"}}, icons = false, auto_open = false, multiline = false, auto_preview = false, indent_lines = false})
|
|
||||||
utils.highlight("TroubleFoldIcon", {bg = "NONE", fg = colors.bright_orange})
|
|
||||||
utils.highlight("TroubleCount", {bg = "NONE", fg = colors.bright_green})
|
|
||||||
utils.highlight("TroubleText", {bg = "NONE", fg = colors.light0})
|
|
||||||
utils.highlight("TroubleSignError", {bg = "NONE", fg = colors.bright_red})
|
|
||||||
utils.highlight("TroubleSignWarning", {bg = "NONE", fg = colors.bright_yellow})
|
|
||||||
utils.highlight("TroubleSignInformation", {bg = "NONE", fg = colors.bright_aqua})
|
|
||||||
return utils.highlight("TroubleSignHint", {bg = "NONE", fg = colors.bright_blue})
|
|
||||||
end
|
|
||||||
return {utils.plugin("folke/trouble.nvim", {lazy = true, config = setup, cmd = {"Trouble", "TroubleClose", "TroubleRefresh", "TroubleToggle"}})}
|
|
|
@ -1,17 +0,0 @@
|
||||||
local _2afile_2a = "/home/leon/.config/nvim/fnl/dots/plugins/twilight.fnl"
|
|
||||||
local _2amodule_name_2a = "dots.plugins.twilight"
|
|
||||||
local _2amodule_2a
|
|
||||||
do
|
|
||||||
package.loaded[_2amodule_name_2a] = {}
|
|
||||||
_2amodule_2a = package.loaded[_2amodule_name_2a]
|
|
||||||
end
|
|
||||||
local _2amodule_locals_2a
|
|
||||||
do
|
|
||||||
_2amodule_2a["aniseed/locals"] = {}
|
|
||||||
_2amodule_locals_2a = (_2amodule_2a)["aniseed/locals"]
|
|
||||||
end
|
|
||||||
local autoload = (require("aniseed.autoload")).autoload
|
|
||||||
local twilight = autoload("twilight")
|
|
||||||
do end (_2amodule_locals_2a)["twilight"] = twilight
|
|
||||||
twilight.setup()
|
|
||||||
return _2amodule_2a
|
|
|
@ -1,15 +0,0 @@
|
||||||
-- [nfnl] Compiled from fnl/dots/plugins/vimtex.fnl by https://github.com/Olical/nfnl, do not edit.
|
|
||||||
local utils = require("dots.utils")
|
|
||||||
local function setup()
|
|
||||||
vim.g.vimtex_view_method = "general"
|
|
||||||
vim.g.vimtex_view_general_viewer = "zathura"
|
|
||||||
vim.g.vimtex_view_general_options = "--synctex-forward @line:1:@tex @pdf"
|
|
||||||
vim.g.vimtex_quickfix_method = "pplatex"
|
|
||||||
vim.g.vimtex_quickfix_mode = 2
|
|
||||||
vim.g.vimtex_quickfix_open_on_warning = 0
|
|
||||||
vim.g.vimtex_compiler_latexmk = {build_dir = "", callback = 1, continuous = 1, executable = "latexmk", hooks = {}, options = {"-verbose", "-file-line-error", "-synctex=1", "-interaction=nonstopmode", "-shell-escape"}}
|
|
||||||
vim.g.vimtex_syntax_custom_cmds = {{name = "scripture", argstyle = "ital"}}
|
|
||||||
vim.g.vimtex_syntax_conceal = {accents = 1, cites = 1, fancy = 1, greek = 1, math_bounds = 1, math_delimiters = 1, math_fracs = 1, math_super_sub = 1, math_symbols = 1, sections = 0, styles = 0}
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
return {utils.plugin("lervag/vimtex", {ft = {"latex", "tex"}, config = setup})}
|
|
|
@ -1,17 +0,0 @@
|
||||||
local _2afile_2a = "/home/leon/.config/nvim/fnl/dots/plugins/zen-mode.fnl"
|
|
||||||
local _2amodule_name_2a = "dots.plugins"
|
|
||||||
local _2amodule_2a
|
|
||||||
do
|
|
||||||
package.loaded[_2amodule_name_2a] = {}
|
|
||||||
_2amodule_2a = package.loaded[_2amodule_name_2a]
|
|
||||||
end
|
|
||||||
local _2amodule_locals_2a
|
|
||||||
do
|
|
||||||
_2amodule_2a["aniseed/locals"] = {}
|
|
||||||
_2amodule_locals_2a = (_2amodule_2a)["aniseed/locals"]
|
|
||||||
end
|
|
||||||
local autoload = (require("aniseed.autoload")).autoload
|
|
||||||
local zen_mode = autoload("zen-mode")
|
|
||||||
do end (_2amodule_locals_2a)["zen-mode"] = zen_mode
|
|
||||||
zen_mode.setup({window = {options = {wrap = true}}})
|
|
||||||
return _2amodule_2a
|
|
Loading…
Reference in a new issue