mirror of
https://github.com/kossLAN/nvim-flake.git
synced 2025-11-04 17:59:50 -05:00
copilot: fix weird buffer issues
This commit is contained in:
parent
59c9c27518
commit
3ae12887b0
3 changed files with 11 additions and 15 deletions
|
|
@ -54,7 +54,6 @@ with final.pkgs.lib; let
|
|||
# telescope-smart-history-nvim # https://github.com/nvim-telescope/telescope-smart-history.nvim
|
||||
# ^ telescope and extensions
|
||||
# UI
|
||||
nvim-navic # Add LSP location to lualine | https://github.com/SmiteshP/nvim-navic
|
||||
statuscol-nvim # Status column | https://github.com/luukvbaal/statuscol.nvim/
|
||||
nvim-treesitter-context # nvim-treesitter-context
|
||||
# ^ UI
|
||||
|
|
|
|||
|
|
@ -70,9 +70,6 @@ vim.api.nvim_create_autocmd('LspAttach', {
|
|||
local bufnr = ev.buf
|
||||
local client = vim.lsp.get_client_by_id(ev.data.client_id)
|
||||
|
||||
-- Attach plugins
|
||||
require('nvim-navic').attach(client, bufnr)
|
||||
|
||||
vim.cmd.setlocal('signcolumn=yes')
|
||||
vim.bo[bufnr].bufhidden = 'hide'
|
||||
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@
|
|||
-- require('CopilotChat').setup {
|
||||
-- debug = true,
|
||||
-- }
|
||||
--
|
||||
-- require('copilot_cmp').setup()
|
||||
--
|
||||
-- require('copilot').setup {
|
||||
-- suggestion = { enabled = false },
|
||||
-- panel = { enabled = false },
|
||||
-- filetypes = {
|
||||
-- ['*'] = false,
|
||||
-- },
|
||||
-- copilot_node_command = 'node',
|
||||
-- }
|
||||
|
||||
require('copilot_cmp').setup()
|
||||
|
||||
require('copilot').setup {
|
||||
suggestion = { enabled = false },
|
||||
panel = { enabled = false },
|
||||
filetypes = {
|
||||
['java'] = true,
|
||||
-- ['*'] = false,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue