mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34: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'';
|
||||
}
|
||||
];
|
||||
|
|
|
@ -20,7 +20,12 @@
|
|||
{
|
||||
name = "tpope/vim-dispatch";
|
||||
opt = true;
|
||||
cmd = ["Dispatch" "Make" "Focus" "Start"];
|
||||
cmd = [
|
||||
"Dispatch"
|
||||
"Make"
|
||||
"Focus"
|
||||
"Start"
|
||||
];
|
||||
}
|
||||
|
||||
# Load on an autocommand event
|
||||
|
@ -33,7 +38,19 @@
|
|||
# Also run code after load (see the "config" key)
|
||||
{
|
||||
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";
|
||||
config = "vim.cmd[[ALEEnable]]";
|
||||
}
|
||||
|
@ -93,13 +110,13 @@
|
|||
name = "glepnir/galaxyline.nvim";
|
||||
branch = "main";
|
||||
config.__raw = ''function() require"statusline" end'';
|
||||
requires = ["kyazdani42/nvim-web-devicons"];
|
||||
requires = [ "kyazdani42/nvim-web-devicons" ];
|
||||
}
|
||||
|
||||
# Use dependency and run lua function after load
|
||||
{
|
||||
name = "lewis6991/gitsigns.nvim";
|
||||
requires = ["nvim-lua/plenary.nvim"];
|
||||
requires = [ "nvim-lua/plenary.nvim" ];
|
||||
config.__raw = ''function() require("gitsigns").setup() end'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue