mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 15:38:12 +01:00
chore: Improve formatting
This commit is contained in:
parent
8671cba57a
commit
8535a06e52
@ -1,9 +1,10 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) fetchFromGitHub;
|
inherit (pkgs) fetchFromGitHub vimPlugins;
|
||||||
inherit (pkgs.vimUtils) buildVimPlugin;
|
inherit (pkgs.vimUtils) buildVimPlugin;
|
||||||
inherit (config.lib.stylix.scheme) slug;
|
inherit (config.lib.stylix.scheme) slug;
|
||||||
|
inherit (config.xdg.userDirs) documents;
|
||||||
|
|
||||||
vim-nix-rummik = buildVimPlugin {
|
vim-nix-rummik = buildVimPlugin {
|
||||||
pname = "vim-nix-rummik";
|
pname = "vim-nix-rummik";
|
||||||
@ -187,7 +188,7 @@ in
|
|||||||
autocmd BufNewFile,BufRead *.mdx set filetype=markdown
|
autocmd BufNewFile,BufRead *.mdx set filetype=markdown
|
||||||
'';
|
'';
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with vimPlugins; [
|
||||||
{
|
{
|
||||||
plugin = nvim-tree-lua;
|
plugin = nvim-tree-lua;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
@ -235,7 +236,9 @@ in
|
|||||||
{
|
{
|
||||||
plugin = nvim-scrollbar;
|
plugin = nvim-scrollbar;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = /* lua */ ''require("scrollbar").setup()'';
|
config = /* lua */ ''
|
||||||
|
require("scrollbar").setup()
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = nvim-lspconfig;
|
plugin = nvim-lspconfig;
|
||||||
@ -472,12 +475,16 @@ in
|
|||||||
{
|
{
|
||||||
plugin = nvim-autopairs;
|
plugin = nvim-autopairs;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ''require("nvim-autopairs").setup {}'';
|
config = /* lua */ ''
|
||||||
|
require("nvim-autopairs").setup()
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = auto-save-nvim;
|
plugin = auto-save-nvim;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ''require("auto-save").setup()'';
|
config = /* lua */ ''
|
||||||
|
require("auto-save").setup()
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = toggleterm-nvim;
|
plugin = toggleterm-nvim;
|
||||||
@ -607,7 +614,7 @@ in
|
|||||||
workspaces = {
|
workspaces = {
|
||||||
{
|
{
|
||||||
name = "ドキュメント",
|
name = "ドキュメント",
|
||||||
path = "~/ドキュメント",
|
path = "${documents}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
disable_frontmatter = true,
|
disable_frontmatter = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user