Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gw31415 committed Jun 7, 2024
1 parent a80db94 commit e8aa62c
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 31 deletions.
2 changes: 1 addition & 1 deletion dot_config/flutter/tool_state
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"is-bot": false,
"license-hash": "595d1dceffbb08773627ff5766d17ddf"
"license-hash": "dc96c9af3fbf254412ffc24bd11a3dc4"
}
3 changes: 3 additions & 0 deletions dot_config/mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ bun = "latest"
"go:golang.org/x/tools/gopls" = "latest"
"cargo:sea-orm-cli" = "latest"
pnpm = "latest"
"cargo:openapi-tui" = "latest"
"npm:carbon-now-cli" = "latest"
typst = "latest"

[settings]
experimental = true
3 changes: 3 additions & 0 deletions dot_config/nvim/dein/common.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ repo = "giusgad/hologram.nvim"
[[plugins]]
repo = "nvim-tree/nvim-web-devicons"

[[plugins]]
repo = "nvim-telescope/telescope.nvim"

[[plugins]]
repo = "lambdalisue/nerdfont.vim"

Expand Down
13 changes: 2 additions & 11 deletions dot_config/nvim/dein/lsp-core.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
[[plugins]]
repo = "folke/neodev.nvim"
repo = "folke/lazydev.nvim"
on_ft = "lua"
depends = ["nvim-lspconfig", "mason.nvim"]
lua_source = '''
require "neodev".setup {}
require 'lspconfig'.lua_ls.setup {
settings = {
Lua = {
completion = {
callSnippet = "Replace"
}
}
}
}
require "lazydev".setup {}
'''

[[plugins]]
Expand Down
42 changes: 28 additions & 14 deletions dot_config/nvim/dein/tweaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,20 @@ lua_source = '''
vim.keymap.set("n", "cll", "<Plug>(deepl-replace)_")
'''

# [[plugins]]
# repo = "numToStr/Comment.nvim"
# on_if = "!has('nvim-0.10')"
# on_map = { nx = "gc" }
# lua_source = '''
# require 'Comment'.setup {
# toggler = {
# block = 'gCC',
# },
# opleader = {
# block = 'gC',
# },
# }
# '''
[[plugins]]
repo = "numToStr/Comment.nvim"
on_if = "!has('nvim-0.10')"
on_map = { nx = "gc" }
lua_source = '''
require 'Comment'.setup {
toggler = {
block = 'gCC',
},
opleader = {
block = 'gC',
},
}
'''

[[plugins]]
repo = "stevearc/overseer.nvim"
Expand Down Expand Up @@ -382,3 +382,17 @@ hook_add = '''
nno <leader>b <cmd>BlameToggle<cr>
'''
lua_source = "require 'blame'.setup()"

[[plugins]]
repo = "chomosuke/term-edit.nvim"
lua_source = "require 'term-edit'.setup{ prompt_end = '%3 ' }"
on_event = "TermOpen"

[[plugins]]
repo = "icholy/lsplinks.nvim"
on_event = "CursorHold"
lua_source = '''
local lsplinks = require("lsplinks")
lsplinks.setup()
vim.keymap.set("n", "gx", lsplinks.gx)
'''
40 changes: 37 additions & 3 deletions dot_config/nvim/dein/ui.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,46 @@ require('skkeleton_indicator').setup {
}
'''

# [[plugins]]
# repo = "mcauley-penney/visual-whitespace.nvim"
# on_event = "CursorMoved"
# lua_source = '''
# require 'visual-whitespace'.setup {}
# '''

[[plugins]]
repo = "mcauley-penney/visual-whitespace.nvim"
on_event = "CursorMoved"
repo = "nvimdev/dashboard-nvim"
on_event = "VimEnter"
depends = ["nvim-web-devicons", "telescope.nvim"]
lua_source = '''
require 'visual-whitespace'.setup {}
require('dashboard').setup {
theme = 'doom',
config = {
header = {
' _ _ _ _ ',
'| \\ | | (_) | | ',
'| \\| | ___ _____ ___ __| | ___ ',
'| . ` |/ _ \\/ _ \\ \\ / / |/ _` |/ _ \\',
'| |\\ | __/ (_) \\ V /| | (_| | __/',
'\\_| \\_/\\___|\\___/ \\_/ |_|\\__,_|\\___|',
'',
},
center = {
{ icon = ' ', desc = 'New file', action = 'enew' },
{ icon = ' ', desc = 'Find file ', key = 'Leader + f', action = 'Telescope find_files' },
{ icon = ' ', desc = 'Recent files ', key = 'Leader + h', action = 'Telescope oldfiles' },
{ icon = ' ', desc = 'Find Word ', key = 'Leader + g', action = 'Telescope live_grep' },
},
footer = { '' }
},
hide = {
statusline = false,
tabline = false,
winbar = false,
}
}
'''
on_if = "exists('g:neovide')"

# [[plugins]]
# repo = "miversen33/sunglasses.nvim"
Expand Down
4 changes: 2 additions & 2 deletions dot_config/private_fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ end

if type -q mise
if status is-interactive
mise activate fish | source
mise activate fish | source
else
mise activate fish --shims | source
mise activate fish --shims | source
end
end

Expand Down

0 comments on commit e8aa62c

Please sign in to comment.