updates
This commit is contained in:
+14
-10
@@ -451,7 +451,10 @@ require("packer").startup {
|
|||||||
|
|
||||||
use {
|
use {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
requires = {"nvim-lua/popup.nvim", "nvim-lua/plenary.nvim"},
|
requires = {
|
||||||
|
"nvim-lua/popup.nvim", "nvim-lua/plenary.nvim",
|
||||||
|
"nvim-telescope/telescope-live-grep-raw.nvim"
|
||||||
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- TODO grep with regex
|
-- TODO grep with regex
|
||||||
local map = vim.api.nvim_set_keymap
|
local map = vim.api.nvim_set_keymap
|
||||||
@@ -459,8 +462,9 @@ require("packer").startup {
|
|||||||
local actions = require("telescope.actions")
|
local actions = require("telescope.actions")
|
||||||
map("n", "<M-F>", "<cmd>Telescope find_files<cr>", opts)
|
map("n", "<M-F>", "<cmd>Telescope find_files<cr>", opts)
|
||||||
map("n", "<M-f>", "<cmd>Telescope git_files<cr>", opts)
|
map("n", "<M-f>", "<cmd>Telescope git_files<cr>", opts)
|
||||||
map("n", "<M-w>", "<cmd>Telescope live_grep<cr>", opts)
|
map("n", "<M-w>",
|
||||||
map("n", "<M-W>", "<cmd>Telescope grep_string<cr>", opts)
|
":lua require('telescope').extensions.live_grep_raw.live_grep_raw()<cr>",
|
||||||
|
opts)
|
||||||
map("n", "<M-b>", "<cmd>Telescope buffers<cr>", opts)
|
map("n", "<M-b>", "<cmd>Telescope buffers<cr>", opts)
|
||||||
map("n", "<M-y>", "<cmd>Telescope filetypes<cr>", opts)
|
map("n", "<M-y>", "<cmd>Telescope filetypes<cr>", opts)
|
||||||
map("n", "<F3>", "<cmd>Telescope colorscheme<cr>", opts)
|
map("n", "<F3>", "<cmd>Telescope colorscheme<cr>", opts)
|
||||||
@@ -778,13 +782,13 @@ require("packer").startup {
|
|||||||
}, {
|
}, {
|
||||||
formatCommand = "isort --stdout --profile black --force-single-line-imports -",
|
formatCommand = "isort --stdout --profile black --force-single-line-imports -",
|
||||||
formatStdin = true
|
formatStdin = true
|
||||||
-- }, {
|
-- }, {
|
||||||
-- lintCommand = "mypy --show-column-numbers --ignore-missing-imports",
|
-- lintCommand = "mypy --show-column-numbers --ignore-missing-imports",
|
||||||
-- lintFormats = {
|
-- lintFormats = {
|
||||||
-- "%f=%l:%c: %trror: %m",
|
-- "%f=%l:%c: %trror: %m",
|
||||||
-- "%f=%l:%c: %tarning: %m",
|
-- "%f=%l:%c: %tarning: %m",
|
||||||
-- "%f=%l:%c: %tote: %m"
|
-- "%f=%l:%c: %tote: %m"
|
||||||
-- }
|
-- }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
javascript = {prettier, eslint},
|
javascript = {prettier, eslint},
|
||||||
|
|||||||
Reference in New Issue
Block a user