Skip to content

Commit

Permalink
Merge branch 'main' into bump-brave-version
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jul 10, 2023
2 parents 92ff7ac + 4754ef1 commit bf376e8
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 11 deletions.
1 change: 1 addition & 0 deletions home/features/cli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
outputs.packages.${pkgs.system}.devenv
nil
gobang
efm-langserver
];
};

Expand Down
2 changes: 2 additions & 0 deletions home/features/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
userName = "Hiroki Sakuraba";

extraConfig = {
credential."https://github.com".helper = "!gh auth git-credential";

core = {
editor = "nvim";

Expand Down
5 changes: 5 additions & 0 deletions home/features/neovim/lua/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,9 @@ return {
},
},
},
{
"NeogitOrg/neogit",
cmd = "Neogit",
dependencies = "nvim-lua/plenary.nvim",
},
}
2 changes: 1 addition & 1 deletion home/features/neovim/lua/plugins/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ return {
},
{
"lewis6991/gitsigns.nvim",
event = "BufReadPre",
event = "VeryLazy",
config = true,
},
{
Expand Down
12 changes: 11 additions & 1 deletion home/features/neovim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ return {
opts = function()
return {
servers = {
efm = {
init_options = { documentFormatting = true },
settings = {
rootMarkers = { ".git/" },
languages = {
lua = {
{ formatCommand = "stylua -", formatStdin = true },
},
},
},
},
bashls = {},
bufls = {},
clojure_lsp = {},
Expand Down Expand Up @@ -153,7 +164,6 @@ return {
null_ls.setup({
-- on_attach = require("lsp-format").on_attach,
sources = {
null_ls.builtins.formatting.stylua,
null_ls.builtins.formatting.alejandra,
null_ls.builtins.formatting.buildifier,
null_ls.builtins.formatting.cljstyle,
Expand Down
22 changes: 13 additions & 9 deletions home/features/neovim/lua/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@ return {
"nvim-treesitter/nvim-treesitter",
version = false,
build = ":TSUpdate",
event = "BufReadPost",
dependencies = {
"nvim-treesitter/nvim-treesitter-context",
config = function()
require("treesitter-context").setup({
enable = true,
})
end,
},
event = "VeryLazy",
dependencies = {},
opts = {
highlight = { enable = true },
indent = { enable = true },
Expand Down Expand Up @@ -74,4 +67,15 @@ return {
desc = "Decremental selection for node",
},
},
{
"nvim-treesitter/nvim-treesitter-context",
name = "treesitter-context",
event = "VeryLazy",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
opts = {
enable = true,
},
},
}

0 comments on commit bf376e8

Please sign in to comment.