Skip to content

Commit 60466df

Browse files
committed
semi working fzfnative dll downloading
1 parent 6e6ab47 commit 60466df

File tree

5 files changed

+56
-45
lines changed

5 files changed

+56
-45
lines changed

devtools/files/nvim/init.lua

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ require("lazy").setup("plugins", {
2828
task = "📌",
2929
},
3030
},
31+
dev = {
32+
path = "~/Projects/Others"
33+
}
3134
})
3235

3336
vim.keymap.set("n", "<leader>l", "<cmd>:Lazy<cr>")

devtools/files/nvim/lazy-lock.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,33 @@
1010
"github-nvim-theme": { "branch": "main", "commit": "54ff75c40cd2cb512dc9cf8030dda92d30e25205" },
1111
"gitsigns.nvim": { "branch": "main", "commit": "2ab3bdf0a40bab53033048c6be75bda86316b55d" },
1212
"indent-blankline.nvim": { "branch": "master", "commit": "c4c203c3e8a595bc333abaf168fcb10c13ed5fb7" },
13-
"lazy.nvim": { "branch": "main", "commit": "6c5af82589f846a773ac2e8ed44f7479fb28a870" },
14-
"lsp-zero.nvim": { "branch": "main", "commit": "5b1b2390b375c87ed952ed038ced8dce9044fcfb" },
13+
"lazy.nvim": { "branch": "main", "commit": "e183601763efbacc0604a549081cc0afd0fccd41" },
14+
"lsp-zero.nvim": { "branch": "main", "commit": "2a90604fcbf4bee9e3407a8ee1b224bb2cbb6563" },
1515
"lualine.nvim": { "branch": "master", "commit": "fffbcb829288c3ca366f17cdb8d46aefb5c1d6f3" },
16-
"mason-lspconfig.nvim": { "branch": "main", "commit": "fc78caa46e306103818137759afcc908ab6be948" },
17-
"mason.nvim": { "branch": "main", "commit": "b2b6e4db7988c21ed4775e6248c50637fc4ddf92" },
16+
"mason-lspconfig.nvim": { "branch": "main", "commit": "31d8ed0dd3daf6cc64e35d710a190b64080bdc86" },
17+
"mason.nvim": { "branch": "main", "commit": "2004a4a2fdfc1c8f0ce90ad237ca173b7d1d22e0" },
1818
"mini.cursorword": { "branch": "stable", "commit": "66aa85d4bad98a8eba7e3db9d52964f5185e65af" },
1919
"mini.nvim": { "branch": "stable", "commit": "dc0ccf1b0499d649a6177d2a406babcfe73b97de" },
2020
"move.nvim": { "branch": "main", "commit": "2cd533590a133ae5fe751ca8081cd1a2047d7c7f" },
2121
"neo-tree.nvim": { "branch": "v2.x", "commit": "73a90f6a736b51168ed05d89ed8872f75b98471c" },
2222
"nui.nvim": { "branch": "main", "commit": "4939282919885e1c83aff68ecb35b3cadf6015a9" },
2323
"null-ls.nvim": { "branch": "main", "commit": "b26851b3e7ac1c0c85666f8a74e36aef2acb89c6" },
2424
"nvim-autopairs": { "branch": "master", "commit": "03580d758231956d33c8dd91e2be195106a79fa4" },
25-
"nvim-cmp": { "branch": "main", "commit": "d09b0c396aaa078cdfe78316ec06940971136e85" },
25+
"nvim-cmp": { "branch": "main", "commit": "e55033fce468c9c578b946948807f2ac48a6ee08" },
2626
"nvim-cokeline": { "branch": "master", "commit": "501f93ec84af0d505d95d3827cad470b9c5e86dc" },
27-
"nvim-lspconfig": { "branch": "master", "commit": "212b99bc12a5416df8b2a610711ba399e2fc388a" },
27+
"nvim-lspconfig": { "branch": "master", "commit": "42ca8ce0f2252be795da4789fadfa91f6c3f7464" },
2828
"nvim-scrollbar": { "branch": "main", "commit": "f45aecbba9c402282dfc99721e0ad4c08710907c" },
29-
"nvim-treesitter": { "branch": "master", "commit": "a2d7e78b0714a0dc066416100b7398d3f0941c23" },
29+
"nvim-treesitter": { "branch": "master", "commit": "7c9ddb72d198d45895d73bc7495e1b7e9627f6ca" },
3030
"nvim-treesitter-context": { "branch": "master", "commit": "d28654b012d4c56beafec630ef7143275dff76f8" },
3131
"nvim-ts-context-commentstring": { "branch": "main", "commit": "32d9627123321db65a4f158b72b757bcaef1a3f4" },
3232
"nvim-ufo": { "branch": "main", "commit": "ab1cab9712326c7a9ff06106d96e42b2dd8c19e8" },
3333
"nvim-web-devicons": { "branch": "master", "commit": "05e1072f63f6c194ac6e867b567e6b437d3d4622" },
3434
"persisted.nvim": { "branch": "main", "commit": "558fc4b9f48e16008782240521cb72455d93b835" },
35-
"playground": { "branch": "master", "commit": "3421bbbfec25a7c54ee041ffb9cb226b69b2b995" },
35+
"playground": { "branch": "master", "commit": "8a887bcf66017bd775a0fb19c9d8b7a4d6759c48" },
3636
"plenary.nvim": { "branch": "master", "commit": "4b7e52044bbb84242158d977a50c4cbcd85070c7" },
3737
"promise-async": { "branch": "main", "commit": "25ac2ddb577bbc1bda2402e6dd6bd33d52cec398" },
3838
"renamer.nvim": { "branch": "master", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" },
39-
"telescope-fzf-native.nvim": { "branch": "main", "commit": "fab3e2212e206f4f8b3bbaa656e129443c9b802e" },
39+
"telescope-fzf-native.nvim": { "branch": "feature/69-prebuilt-release-binaries", "commit": "c526f25483e708d246c8b9108cd3ccf456349d3d" },
4040
"telescope.nvim": { "branch": "master", "commit": "b79cd6c88b3d96b0f49cb7d240807cd59b610cd8" },
4141
"todo-comments.nvim": { "branch": "main", "commit": "c1760010f46992165995aaa52ca967f473a2e8e6" },
4242
"toggleterm.nvim": { "branch": "main", "commit": "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" },

devtools/files/nvim/lua/config/settings.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local options = {
33
backup = false, -- creates a backup file
44
writebackup = false,
55

6-
clipboard = "unnamedplus", -- allows neovim to access the system clipboard
6+
-- clipboard = "unnamedplus", -- allows neovim to access the system clipboard
77
autoread = true, -- when file changed, autoread it
88
completeopt = { "menuone", "noselect" }, -- mostly just for cmp
99
fileencoding = "utf-8", -- the encoding written to a file

devtools/files/nvim/lua/plugins/ui_code-folding.lua

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ local PluginSpec = {
66
},
77

88
config = function()
9-
vim.o.foldcolumn = '1' -- '0' is not bad
9+
vim.o.foldcolumn = '0' -- '0' is not bad
1010
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
1111
vim.o.foldenable = true
1212
vim.o.foldlevelstart = 99
1313

14+
--
15+
-- Decorate folded blocks with " ↙ 67 "
16+
--
1417
local fold_virt_text_handler = function(virtText, lnum, endLnum, width, truncate)
1518
local newVirtText = {}
1619
local suffix = (" ↙ %d "):format(endLnum - lnum)

devtools/files/nvim/lua/plugins/ui_fuzzyfind.lua

+39-34
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,50 @@
11
local PluginSpec = {
22
-- Lists of things
3-
'nvim-telescope/telescope.nvim', version = '0.1.0',
4-
dependencies = {
5-
{ 'nvim-lua/plenary.nvim' },
6-
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' }
7-
},
8-
config = function()
9-
-- You dont need to set any of these options. These are the default ones. Only
10-
-- the loading is important
11-
local telescope = require('telescope')
12-
local telescope_builtin = require("telescope.builtin")
13-
14-
telescope.setup {
15-
extensions = {
16-
fzf = {
17-
fuzzy = true, -- false will only do exact matching
18-
override_generic_sorter = true, -- override the generic sorter
19-
override_file_sorter = true, -- override the file sorter
20-
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
21-
-- the default case_mode is "smart_case"
22-
}
3+
'nvim-telescope/telescope.nvim', version = '0.1.0',
4+
dependencies = {
5+
{ 'nvim-lua/plenary.nvim' },
6+
{ 'airtonix/telescope-fzf-native.nvim',
7+
branch = 'feature/69-prebuilt-release-binaries',
8+
build = function()
9+
require('telescope-fzf-native').download_library()
10+
end
11+
}
12+
},
13+
config = function()
14+
-- You dont need to set any of these options. These are the default ones. Only
15+
-- the loading is important
16+
local telescope = require('telescope')
17+
local telescope_builtin = require("telescope.builtin")
18+
19+
telescope.setup {
20+
extensions = {
21+
fzf = {
22+
fuzzy = true, -- false will only do exact matching
23+
override_generic_sorter = true, -- override the generic sorter
24+
override_file_sorter = true, -- override the file sorter
25+
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
26+
-- the default case_mode is "smart_case"
2327
}
2428
}
25-
-- To get fzf loaded and working with telescope, you need to call
26-
-- load_extension, somewhere after setup function:
27-
telescope.load_extension('fzf')
29+
}
30+
-- To get fzf loaded and working with telescope, you need to call
31+
-- load_extension, somewhere after setup function:
32+
telescope.load_extension('fzf')
2833

2934

30-
-- vim.keymap.set('n', '<C-f>', telescope_builtin.find_files, {})
31-
-- vim.keymap.set('n', '<A-f>', telescope_builtin.git_files, {})
32-
-- vim.keymap.set('n', '<leader>ps', function()
33-
-- telescope_builtin.grep_string({ search = vim.fn.input("Grep > ") });
34-
-- end)
35-
vim.keymap.set('n', '<C-p>', telescope_builtin.commands, {})
35+
-- vim.keymap.set('n', '<C-f>', telescope_builtin.find_files, {})
36+
-- vim.keymap.set('n', '<A-f>', telescope_builtin.git_files, {})
37+
-- vim.keymap.set('n', '<leader>ps', function()
38+
-- telescope_builtin.grep_string({ search = vim.fn.input("Grep > ") });
39+
-- end)
40+
vim.keymap.set('n', '<C-p>', telescope_builtin.commands, {})
3641

37-
vim.keymap.set('n', '<leader>ff', telescope_builtin.find_files, {})
38-
vim.keymap.set('n', '<leader>fg', telescope_builtin.live_grep, {})
39-
vim.keymap.set('n', '<leader>fb', telescope_builtin.buffers, {})
40-
vim.keymap.set('n', '<leader>fh', telescope_builtin.help_tags, {})
42+
vim.keymap.set('n', '<leader>ff', telescope_builtin.find_files, {})
43+
vim.keymap.set('n', '<leader>fg', telescope_builtin.live_grep, {})
44+
vim.keymap.set('n', '<leader>fb', telescope_builtin.buffers, {})
45+
vim.keymap.set('n', '<leader>fh', telescope_builtin.help_tags, {})
4146

42-
end
47+
end
4348

4449
}
4550

0 commit comments

Comments
 (0)