Skip to content

Commit 2ffe0d2

Browse files
committed
updates for python, additional grep
1 parent 845a08e commit 2ffe0d2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

init.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ require('lazy').setup({
219219
})
220220
end, { desc = '[/] Fuzzily search in current buffer' })
221221

222+
-- Prompting
223+
vim.keymap.set('n', '<leader>fG', function()
224+
builtin.grep_string { search = vim.fn.input 'grep> ' }
225+
end)
226+
222227
-- It's also possible to pass additional configuration options.
223228
-- See `:help telescope.builtin.live_grep()` for information about particular keys
224229
vim.keymap.set('n', '<leader>s/', function()
@@ -343,6 +348,9 @@ require('lazy').setup({
343348
local ensure_installed = vim.tbl_keys(servers or {})
344349
vim.list_extend(ensure_installed, {
345350
'stylua', -- Used to format Lua code
351+
'ruff', -- lint and format for python
352+
'debugpy', -- debugger
353+
'taplo', -- LSP for toml files
346354
})
347355
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
348356

0 commit comments

Comments
 (0)