Compare commits
1 Commits
feature/ad
...
feature/ad
| Author | SHA1 | Date | |
|---|---|---|---|
|
393c4ccfc5
|
@@ -3,8 +3,10 @@
|
||||
{
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
|
||||
viAlias = false;
|
||||
vimAlias = true;
|
||||
|
||||
opts = {
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
@@ -14,58 +16,29 @@
|
||||
incsearch = true;
|
||||
};
|
||||
|
||||
# nvim mapleader
|
||||
globals.mapleader = " ";
|
||||
# colorscheme
|
||||
colorschemes.nord.enable = true;
|
||||
globals.mapleader = " ";
|
||||
|
||||
# nvim plugins
|
||||
plugins.indent-blankline.enable = true;
|
||||
plugins.lualine.enable = true;
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
# lsp for typst
|
||||
servers.tinymist = {
|
||||
enable = true;
|
||||
settings = {
|
||||
formatterMode = "typstyle";
|
||||
exportPdf = "onSave";
|
||||
semanticTokens = "disable"; # treesitter handles highlighting better
|
||||
};
|
||||
};
|
||||
# minimal lsp keymaps
|
||||
keymaps.lspBuf = {
|
||||
"K" = "hover";
|
||||
"gd" = "definition";
|
||||
"gr" = "references";
|
||||
"<leader>f" = "format";
|
||||
"<leader>rn" = "rename";
|
||||
"<leader>ca" = "code_action";
|
||||
};
|
||||
};
|
||||
plugins.nix.enable = true;
|
||||
plugins.nvim-tree.enable = true;
|
||||
plugins.telescope.enable = true;
|
||||
plugins.treesitter = {
|
||||
enable = true;
|
||||
settings.ensure_installed = [ "typst" ];
|
||||
settings.ensure_installed = [ "markdown" "markdown_inline" ];
|
||||
};
|
||||
plugins.typst-preview = {
|
||||
plugins.telescope.enable = true;
|
||||
plugins.web-devicons.enable = true;
|
||||
plugins.indent-blankline.enable = true;
|
||||
plugins.render-markdown = {
|
||||
enable = true;
|
||||
settings = {
|
||||
open_cmd = "firefox %s";
|
||||
dependencies_bin = {
|
||||
tinymist = "tinymist";
|
||||
websocat = null;
|
||||
};
|
||||
# render in normal mode, raw source in insert
|
||||
render_modes = [ "n" "c" "t"];
|
||||
pipe_table.preset = "round";
|
||||
heading.width = "block";
|
||||
file_types = [ "markdown" ];
|
||||
completions.lsp.enabled = true;
|
||||
};
|
||||
};
|
||||
plugins.typst-vim = {
|
||||
enable = true;
|
||||
settings.pdf_viewer = "zathura";
|
||||
};
|
||||
plugins.web-devicons.enable = true;
|
||||
|
||||
extraPlugins = [ pkgs.vimPlugins.plenary-nvim ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
fastfetch
|
||||
keepassxc
|
||||
teamspeak6-client
|
||||
typst
|
||||
zathura
|
||||
];
|
||||
|
||||
# services and other software
|
||||
|
||||
Reference in New Issue
Block a user