mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
dev environment work, moved to alacritty, matrix logging change
This commit is contained in:
parent
43f828b99a
commit
8b19689060
9 changed files with 63 additions and 33 deletions
|
|
@ -16,10 +16,12 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
home.packages = [ doom-emacs pkgs.sqlite ];
|
||||
config = mkIf ((builtins.getEnv "CI_ENV") != "") {
|
||||
home.packages = [ doom-emacs pkgs.sqlite ];
|
||||
|
||||
home.file.".emacs.d/init.el".text = ''
|
||||
(load "default.el")
|
||||
(load-theme 'base16-${lib.elemAt (lib.splitString "." config.base16.alias.default) 1} t)
|
||||
'';
|
||||
home.file.".emacs.d/init.el".text = ''
|
||||
(load "default.el")
|
||||
(load-theme 'base16-${lib.elemAt (lib.splitString "." config.base16.alias.default) 1} t)
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ ... }: {
|
||||
excludes = [
|
||||
"emacs"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,8 +39,14 @@ in
|
|||
'';
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
neorg
|
||||
nvim-cmp
|
||||
plenary-nvim
|
||||
nvim-base16
|
||||
nvim-treesitter
|
||||
nvim-web-devicons
|
||||
telescope-nvim
|
||||
(nvim-treesitter.withPlugins (
|
||||
plugins: with plugins; pkgs.tree-sitter.allGrammars
|
||||
))
|
||||
nvim-ts-rainbow
|
||||
coc-yaml
|
||||
coc-git
|
||||
|
|
|
|||
|
|
@ -1,6 +1,21 @@
|
|||
lua << EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||
local cmp = require'cmp'
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
vim.fn["vsnip#anonymous"](args.body)
|
||||
end,
|
||||
},
|
||||
mapping = {
|
||||
['<C-y>'] = cmp.mapping.confirm({ select = true }),
|
||||
},
|
||||
sources = {
|
||||
{ name = 'neorg' },
|
||||
}
|
||||
})
|
||||
|
||||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||
ignore_install = { }, -- List of parsers to ignore installing
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
|
@ -22,11 +37,17 @@ require'nvim-treesitter.configs'.setup {
|
|||
["core.norg.concealer"] = {}, -- Allows for use of icons
|
||||
["core.norg.dirman"] = { -- Manage your directories with Neorg
|
||||
config = {
|
||||
engine = "nvim-cmp",
|
||||
workspaces = {
|
||||
my_workspace = "~/neorg"
|
||||
home = "~/neorg"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
EOF
|
||||
|
||||
nnoremap <leader>ff <cmd>Telescope find_files<cr>
|
||||
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
||||
nnoremap <leader>fb <cmd>Telescope buffers<cr>
|
||||
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue