linting
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
return {
|
return {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope-fzf-native.nvim",
|
"nvim-telescope/telescope-fzf-native.nvim",
|
||||||
build = "zig build-lib -dynamic -O ReleaseSafe -target x86_64-windows-gnu src/fzf.c -lc -femit-bin=./build/libfzf.dll",
|
build = "zig build-lib -dynamic -O ReleaseSafe -target x86_64-windows-gnu src/fzf.c -lc -femit-bin=./build/libfzf.dll",
|
||||||
},
|
},
|
||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
},
|
},
|
||||||
|
|
||||||
keys = {
|
keys = {
|
||||||
-- add a keymap to browse plugin files
|
-- add a keymap to browse plugin files
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
{
|
{
|
||||||
@@ -17,37 +17,37 @@ return {
|
|||||||
function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end,
|
function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end,
|
||||||
desc = "Find Plugin File",
|
desc = "Find Plugin File",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
defaults = {
|
defaults = {
|
||||||
|
layout_strategy = "horizontal",
|
||||||
|
layout_config = { prompt_position = "bottom" },
|
||||||
|
sorting_strategy = "descending",
|
||||||
|
winblend = 0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
config = function()
|
||||||
|
-- Telescope setup
|
||||||
|
require("telescope").setup({
|
||||||
|
-- Telescope configuration
|
||||||
|
defaults = {
|
||||||
layout_strategy = "horizontal",
|
layout_strategy = "horizontal",
|
||||||
layout_config = { prompt_position = "bottom" },
|
layout_config = { prompt_position = "bottom" },
|
||||||
sorting_strategy = "descending",
|
sorting_strategy = "descending",
|
||||||
winblend = 0,
|
winblend = 0,
|
||||||
},
|
vimgrep_arguments = {
|
||||||
},
|
"rg",
|
||||||
|
"--color=never",
|
||||||
config = function()
|
"--no-heading",
|
||||||
-- Telescope setup
|
"--with-filename",
|
||||||
require("telescope").setup {
|
"--line-number",
|
||||||
-- Telescope configuration
|
"--column",
|
||||||
defaults = {
|
"--smart-case",
|
||||||
layout_strategy = "horizontal",
|
},
|
||||||
layout_config = { prompt_position = "bottom" },
|
},
|
||||||
sorting_strategy = "descending",
|
})
|
||||||
winblend = 0,
|
-- Load the fzf extension
|
||||||
vimgrep_arguments = {
|
require("telescope").load_extension("fzf")
|
||||||
'rg',
|
end,
|
||||||
'--color=never',
|
|
||||||
'--no-heading',
|
|
||||||
'--with-filename',
|
|
||||||
'--line-number',
|
|
||||||
'--column',
|
|
||||||
'--smart-case',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
-- Load the fzf extension
|
|
||||||
require("telescope").load_extension("fzf")
|
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ require("nvim-treesitter.install").prefer_git = false
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
build = function()
|
build = function() end,
|
||||||
end,
|
|
||||||
opts = {
|
opts = {
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
|
|||||||
Reference in New Issue
Block a user