nixvim: add orgmode support
This commit is contained in:
@@ -3,8 +3,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
imports = [inputs.nixvim.homeModules.nixvim];
|
{
|
||||||
|
imports = [ inputs.nixvim.homeModules.nixvim ];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
@@ -78,6 +79,7 @@
|
|||||||
neogit.enable = true; # like magit
|
neogit.enable = true; # like magit
|
||||||
trouble.enable = true;
|
trouble.enable = true;
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
|
orgmode.enable = true; # org-mode support
|
||||||
|
|
||||||
# Shows file trees
|
# Shows file trees
|
||||||
oil = {
|
oil = {
|
||||||
@@ -91,9 +93,9 @@
|
|||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.formatters_by_ft = with pkgs; {
|
settings.formatters_by_ft = with pkgs; {
|
||||||
lua = ["stylua"];
|
lua = [ "stylua" ];
|
||||||
python = ["black"];
|
python = [ "black" ];
|
||||||
nix = ["nixfmt"];
|
nix = [ "nixfmt" ];
|
||||||
};
|
};
|
||||||
# extraOptions = {
|
# extraOptions = {
|
||||||
# default_format_opts.lsp_format = "fallback";
|
# default_format_opts.lsp_format = "fallback";
|
||||||
@@ -105,9 +107,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
settings.sources = [
|
settings.sources = [
|
||||||
{name = "nvim_lsp";}
|
{ name = "nvim_lsp"; }
|
||||||
{name = "path";}
|
{ name = "path"; }
|
||||||
{name = "buffer";}
|
{ name = "buffer"; }
|
||||||
];
|
];
|
||||||
settings.mapping = {
|
settings.mapping = {
|
||||||
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
||||||
|
|||||||
Reference in New Issue
Block a user