TelescopeでTreesitterを無効化&&Copilotをmdとtxtで無効化
This commit is contained in:
parent
baa5a92c03
commit
c9364446ea
1 changed files with 7 additions and 0 deletions
7
init.lua
7
init.lua
|
@ -317,6 +317,9 @@ require("lualine").setup({
|
||||||
--telescope
|
--telescope
|
||||||
require("telescope").setup({
|
require("telescope").setup({
|
||||||
defaults = {
|
defaults = {
|
||||||
|
preview = {
|
||||||
|
treesitter = false,
|
||||||
|
},
|
||||||
borderchars = { "─", "│", "─", "│", "┌", "┐", "┘", "└" },
|
borderchars = { "─", "│", "─", "│", "┌", "┐", "┘", "└" },
|
||||||
color_devicons = true,
|
color_devicons = true,
|
||||||
file_ignore_patterns = { "node_modules", ".git", ".cache", ".svg", ".npm", "go" },
|
file_ignore_patterns = { "node_modules", ".git", ".cache", ".svg", ".npm", "go" },
|
||||||
|
@ -947,6 +950,10 @@ local select = require("CopilotChat.select")
|
||||||
require("copilot").setup({
|
require("copilot").setup({
|
||||||
suggestion = { enabled = false },
|
suggestion = { enabled = false },
|
||||||
panel = { enabled = false },
|
panel = { enabled = false },
|
||||||
|
filetypes = {
|
||||||
|
markdown = false,
|
||||||
|
text = false,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
require("CopilotChat").setup({
|
require("CopilotChat").setup({
|
||||||
|
|
Loading…
Reference in a new issue