Skip to content

Commit 90cfa62

Browse files
update
1 parent 7605410 commit 90cfa62

File tree

4 files changed

+52
-42
lines changed

4 files changed

+52
-42
lines changed

.config/nvim/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ lazy.setup {
2424
},
2525
}
2626

27+
require('plugin.trim_whitespace').setup()
28+
2729
require('opt')
2830
require('remaps')
2931
require('hi')
30-
31-
require('plugin.trim_whitespace').setup()

.config/nvim/lazy-lock.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
44
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
55
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
6-
"cord.nvim": { "branch": "master", "commit": "825e7fdac34d0e9cc5e62195d14502ce0b62abf5" },
76
"emmet-vim": { "branch": "master", "commit": "6c511a8d7d2863066f32e25543e2bb99d505172c" },
87
"fluent.vim": { "branch": "master", "commit": "86f60ebc5dc6ee52c1b7676aa2c950eb4b9af06a" },
98
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
@@ -14,14 +13,14 @@
1413
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
1514
"nvim-autopairs": { "branch": "master", "commit": "6522027785b305269fa17088395dfc0f456cedd2" },
1615
"nvim-cmp": { "branch": "main", "commit": "1e1900b0769324a9675ef85b38f99cca29e203b3" },
17-
"nvim-lspconfig": { "branch": "master", "commit": "699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3" },
18-
"nvim-tree.lua": { "branch": "master", "commit": "c09ff35de503a41fa62465c6b4ae72d96e7a7ce4" },
19-
"nvim-treesitter": { "branch": "master", "commit": "ff553df2f4c5641be2b282e1a0a072c46cf03591" },
16+
"nvim-lspconfig": { "branch": "master", "commit": "200280dab91a7df2ca42fd2ab3cb4c5fab056666" },
17+
"nvim-tree.lua": { "branch": "master", "commit": "44d9b58f11d5a426c297aafd0be1c9d45617a849" },
18+
"nvim-treesitter": { "branch": "master", "commit": "e329e94a6a0a5ccf6ec8bfec1d10faf5eaae665f" },
2019
"nvim-treesitter-textobjects": { "branch": "master", "commit": "9937e5e356e5b227ec56d83d0a9d0a0f6bc9cad4" },
2120
"nvim-web-devicons": { "branch": "master", "commit": "4c3a5848ee0b09ecdea73adcd2a689190aeb728c" },
2221
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
2322
"rust-tools.nvim": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" },
24-
"schemastore.nvim": { "branch": "main", "commit": "39015717d8b25262119df1a8dd4069b17aea8d82" },
23+
"schemastore.nvim": { "branch": "main", "commit": "735e53aa42423239e1f862e3356bdda56a2ba30e" },
2524
"tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" },
2625
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
2726
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
@@ -31,7 +30,7 @@
3130
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
3231
"ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" },
3332
"twoslash-queries.nvim": { "branch": "main", "commit": "b92622c7b71eceefabd02eef24236041069904b1" },
34-
"typst-preview.nvim": { "branch": "master", "commit": "00ff6829030f302e8ff24d0e3a68625dd1a3ac40" },
33+
"typst-preview.nvim": { "branch": "master", "commit": "ddcc71126f910ec83037622bc8d506f91a290ade" },
3534
"undotree": { "branch": "master", "commit": "b951b87b46c34356d44aa71886aecf9dd7f5788a" },
3635
"vim-crystal": { "branch": "master", "commit": "dc21188ec8c2ee77bb81dffca02e1a29d87cfd9f" },
3736
"vim-elixir": { "branch": "master", "commit": "1ec9aab0e0de9c737af97e46ead5d65485ae2f9a" },

.config/nvim/lua/plugins/cord.lua

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
1-
return {
2-
'vyfor/cord.nvim',
3-
build = ':Cord update',
4-
opts = {
5-
display = {
6-
theme = 'default',
7-
flavor = 'accent',
8-
},
1+
-- return {
2+
-- 'vyfor/cord.nvim',
3+
-- build = ':Cord update',
4+
-- opts = {
5+
-- display = {
6+
-- theme = 'default',
7+
-- flavor = 'accent',
8+
-- },
9+
--
10+
-- buttons = {
11+
-- {
12+
-- label = function (opts)
13+
-- return opts.repo_url and 'View Repository' or 'GitHub'
14+
-- end,
15+
-- url = function (opts)
16+
-- return opts.repo_url or 'https://github.com/Benricheson101'
17+
-- end,
18+
-- },
19+
-- },
20+
--
21+
-- editor = {
22+
-- icon = ' ',
23+
-- },
24+
--
25+
-- idle = {
26+
-- timeout = 600000,
27+
-- },
28+
--
29+
-- advanced = {
30+
-- server = {
31+
-- update = 'none',
32+
-- },
33+
-- },
34+
-- },
35+
-- }
936

10-
buttons = {
11-
{
12-
label = function (opts)
13-
return opts.repo_url and 'View Repository' or 'GitHub'
14-
end,
15-
url = function (opts)
16-
return opts.repo_url or 'https://github.com/Benricheson101'
17-
end,
18-
},
19-
},
20-
21-
editor = {
22-
icon = ' ',
23-
},
24-
25-
idle = {
26-
timeout = 600000,
27-
},
28-
29-
advanced = {
30-
server = {
31-
update = 'none',
32-
},
33-
},
34-
},
35-
}
37+
return {}

.config/nvim/lua/plugins/util.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ return {
2424
{
2525
'godlygeek/tabular',
2626
event = {'BufReadPre', 'BufNewFile'},
27+
config = function()
28+
local patterns = {
29+
typsttable = '/\\("\\|\\]\\),\\zs',
30+
}
31+
32+
for name, pat in pairs(patterns) do
33+
vim.cmd.AddTabularPattern(name, pat)
34+
end
35+
end
2736
},
2837
-- {
2938
-- 'easymotion/vim-easymotion',

0 commit comments

Comments
 (0)