TelescopeでTreesitterを無効化&&Copilotをmdとtxtで無効化

This commit is contained in:
Rikuoh Tsujitani 2024-10-04 23:13:22 +09:00
parent baa5a92c03
commit c9364446ea
Signed by: riq0h
GPG key ID: 010F09DEA298C717

View file

@ -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({