mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 08:14:33 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# Empty configuration
|
||||
empty = {
|
||||
plugins.lazy.enable = true;
|
||||
|
@ -15,7 +16,12 @@
|
|||
{
|
||||
pkg = vim-dispatch;
|
||||
optional = true;
|
||||
cmd = ["Dispatch" "Make" "Focus" "Start"];
|
||||
cmd = [
|
||||
"Dispatch"
|
||||
"Make"
|
||||
"Focus"
|
||||
"Start"
|
||||
];
|
||||
}
|
||||
|
||||
# Load on an autocommand event
|
||||
|
@ -28,7 +34,19 @@
|
|||
{
|
||||
pkg = ale;
|
||||
name = "w0rp/ale";
|
||||
ft = ["sh" "zsh" "bash" "c" "cpp" "cmake" "html" "markdown" "racket" "vim" "tex"];
|
||||
ft = [
|
||||
"sh"
|
||||
"zsh"
|
||||
"bash"
|
||||
"c"
|
||||
"cpp"
|
||||
"cmake"
|
||||
"html"
|
||||
"markdown"
|
||||
"racket"
|
||||
"vim"
|
||||
"tex"
|
||||
];
|
||||
cmd = "ALEEnable";
|
||||
}
|
||||
|
||||
|
@ -57,13 +75,15 @@
|
|||
# Post-install/update hook with neovim command
|
||||
{
|
||||
pkg = nvim-treesitter;
|
||||
opts = {ensure_installed = {};};
|
||||
opts = {
|
||||
ensure_installed = { };
|
||||
};
|
||||
}
|
||||
|
||||
# Use dependency and run lua function after load
|
||||
{
|
||||
pkg = gitsigns-nvim;
|
||||
dependencies = [plenary-nvim];
|
||||
dependencies = [ plenary-nvim ];
|
||||
config = ''function() require("gitsigns").setup() end'';
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue