tangled
alpha
login
or
join now
boltless.me
/
nvim_rocks
0
fork
atom
neovim configuration using rocks.nvim plugin manager
0
fork
atom
overview
issues
pulls
pipelines
chore: more minor updates
Seongmin Lee
2 years ago
a1114360
97cc5e24
+21
-12
4 changed files
expand all
collapse all
unified
split
lua
core
lsp
init.lua
options.lua
plugins
nvim-ufo.lua
rocks.toml
+5
lua/core/lsp/init.lua
···
25
25
callback = function(ev)
26
26
if vim.fn.has("nvim-0.11") == 1 then
27
27
vim.lsp.completion.enable(true, ev.data.client_id, ev.buf, { autotrigger = false })
28
28
+
else
29
29
+
vim.keymap.set("i", "<c-s>", vim.lsp.buf.signature_help, { buffer = ev.buf })
30
30
+
vim.keymap.set("n", "gra", vim.lsp.buf.code_action, { buffer = ev.buf })
31
31
+
vim.keymap.set("n", "grr", vim.lsp.buf.references, { buffer = ev.buf })
32
32
+
vim.keymap.set("n", "grn", vim.lsp.buf.rename, { buffer = ev.buf })
28
33
end
29
34
end,
30
35
})
+2
lua/core/options.lua
···
39
39
vim.o.foldenable = true
40
40
vim.o.foldlevel = 99
41
41
vim.o.foldlevelstart = 99
42
42
+
vim.o.foldmethod = "expr"
43
43
+
vim.o.foldexpr = "v:lua.vim.treesitter.foldexpr()"
42
44
vim.o.formatexpr = "v:lua.require'conform'.formatexpr()"
43
45
vim.o.formatoptions = "jcrqlnt"
44
46
if vim.fn.executable("rg") ~= 0 then
+1
lua/plugins/nvim-ufo.lua
···
1
1
+
vim.o.foldmethod = "manual"
1
2
---@diagnostic disable-next-line: missing-fields
2
3
require("ufo").setup({
3
4
provider_selector = function(_bufnr, _filetype, _buftype)
+13
-12
rocks.toml
···
15
15
# If the plugin name contains a dot then you must add quotes to the key name!
16
16
[plugins]
17
17
"rocks.nvim" = "2.40.0"
18
18
-
"rocks-git.nvim" = "2.0.1"
19
19
-
"rocks-dev.nvim" = "1.5.0"
18
18
+
"rocks-git.nvim" = "2.2.0"
19
19
+
"rocks-dev.nvim" = "1.7.0"
20
20
"rocks-config.nvim" = "2.2.0"
21
21
"rocks-edit.nvim" = "scm"
22
22
-
"rocks-treesitter.nvim" = "1.1.1"
22
22
+
"rocks-treesitter.nvim" = "1.1.2"
23
23
+
23
24
# harpoon uses plenary.nvim
24
25
"plenary.nvim" = "scm"
25
26
nvim-lspconfig = "0.1.8"
···
32
33
"kanagawa.nvim" = "scm"
33
34
"mini.ai" = "scm"
34
35
nvim-surround = "2.1.5"
35
35
-
nvim-treesitter-legacy-api = "0.9.2"
36
36
-
fzf-lua = "0.0.1450"
36
36
+
# nvim-treesitter-legacy-api = "0.9.2"
37
37
+
fzf-lua = "0.0.1454"
37
38
"quicker.nvim" = "1.1.1"
38
38
-
nvim-ufo = "1.4.0"
39
39
+
# nvim-ufo = "1.4.0"
39
40
"telescope.nvim" = "scm"
40
41
"octo.nvim" = "scm"
41
42
"oil.nvim" = "2.12.1"
···
44
45
"lazydev.nvim" = "1.8.0"
45
46
46
47
tree-sitter-css = "0.0.3"
47
47
-
tree-sitter-ecma = "0.0.2"
48
48
+
tree-sitter-ecma = "scm"
48
49
tree-sitter-go = "0.0.3"
49
50
tree-sitter-html = "0.0.3"
50
51
tree-sitter-javascript = "0.0.3"
51
52
tree-sitter-json = "0.0.3"
52
52
-
tree-sitter-jsx = "0.0.2"
53
53
+
tree-sitter-jsx = "scm"
53
54
tree-sitter-lua = "0.0.2"
54
55
tree-sitter-make = "0.0.2"
55
56
tree-sitter-query = "0.0.2"
···
66
67
# nvim-treesitter-textobjects = { dir = "~/repo/nvim-treesitter-textobjects" }
67
68
tree-sitter-gomod = "0.0.3"
68
69
tree-sitter-dockerfile = "0.0.2"
69
69
-
tree-sitter-regex = "0.0.2"
70
70
+
tree-sitter-regex = "0.0.3"
70
71
tree-sitter-gitignore = "0.0.2"
71
72
tree-sitter-swift = "0.0.3"
72
73
tree-sitter-kotlin = "0.0.4"
73
74
tree-sitter-groovy = "0.0.3"
74
74
-
tree-sitter-ini = "0.0.2"
75
75
+
tree-sitter-ini = "0.0.3"
75
76
tree-sitter-vimdoc = "0.0.2"
76
77
tree-sitter-tmux = "0.0.3"
77
78
tree-sitter-astro = "0.0.2"
78
79
tree-sitter-jsonc = "0.0.2"
79
79
-
tree-sitter-html_tags = "0.0.2"
80
80
+
tree-sitter-html_tags = "scm"
80
81
tree-sitter-editorconfig = "0.0.4"
81
82
tree-sitter-gitattributes = "0.0.2"
82
83
tree-sitter-graphql = "0.0.2"
···
111
112
112
113
[plugins."kulala.nvim"]
113
114
git = "mistweaverco/kulala.nvim"
114
114
-
rev = "v3.5.0"
115
115
+
rev = "v3.7.0"
115
116
116
117
[plugins.github-nvim-theme]
117
118
git = "projekt0n/github-nvim-theme"