Skip to content

Commit

Permalink
Merge branch 'main' into server
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnakedev committed Nov 23, 2023
2 parents f7e1999 + 0ecf46b commit 27b52aa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
4 changes: 3 additions & 1 deletion home-manager/mac/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.11";
home.stateVersion = "23.05";

# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
Expand Down Expand Up @@ -58,6 +58,8 @@
};
interactiveShellInit = ''
neofetch --disable packages
export PATH="$PATH:/Users/jonathan/.aiken/bin"
eval "$(/opt/homebrew/bin/brew shellenv)"
'';
plugins = [{
name = "foreign-env";
Expand Down
17 changes: 14 additions & 3 deletions home-manager/mac/local-modules/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ in
coc-json
coc-snippets
coc-eslint
coc-prettier
jsonc-vim

#Markdown
Expand Down Expand Up @@ -127,9 +128,12 @@ in
plugin = comment-nvim;
type = "lua";
config = ''
require('Comment').setup()
require('Comment').setup {
pre_hook = require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook(),
}
'';
}
nvim-ts-context-commentstring

{
plugin = todo-comments-nvim;
Expand Down Expand Up @@ -160,6 +164,9 @@ in
disable = {"haskell"},
additional_vim_regex_highlighting = false,
},
context_commentstring = {
enable = true,
},
})
'';
}
Expand All @@ -173,7 +180,7 @@ in
options = {
mode = 'buffers',
themable = false,
numbers = 'buffer_id',
numbers = 'ordinal',
offsets = {
{filetype = 'NvimTree'}
},
Expand Down Expand Up @@ -286,7 +293,9 @@ in
custom_highlights = {
CocMenuSel = { fg = '#000000', bg = '#89DDFF' },
Structure = { fg = '#89DDFF'},
Identifier = {fg = '#F78C6C'}
Identifier = { fg = '#F78C6C' },
CurSearch = { fg = '#000000', bg = '#89DDFF' },
Search = { fg = '#000000',bg = '#F78C6C' }
}
})
vim.cmd("colorscheme material ")
Expand Down Expand Up @@ -355,6 +364,8 @@ in
];

extraLuaConfig = ''
-- https://github.com/JoosepAlviste/nvim-ts-context-commentstring
vim.opt.updatetime = 100
-- disable netrw at the very start of your init.lua (strongly advised)
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
Expand Down

0 comments on commit 27b52aa

Please sign in to comment.