Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does filetypes fully disable sending code to Github servers? #272

Open
krzkrzkrz opened this issue Feb 24, 2024 · 0 comments
Open

Does filetypes fully disable sending code to Github servers? #272

krzkrzkrz opened this issue Feb 24, 2024 · 0 comments

Comments

@krzkrzkrz
Copy link

krzkrzkrz commented Feb 24, 2024

At https://github.com/zbirenbaum/copilot.lua?tab=readme-ov-file#filetypes it says:

    sh = function ()
      if string.match(vim.fs.basename(vim.api.nvim_buf_get_name(0)), '^%.env.*') then
        -- disable for .env files
        return false
      end
      return true
    end,

Will this fully prevent Copilot from sending code to Github servers for suggestions when an env file is opened? Or is this configuration more about just disabling the plugin for this specific filetype (which assumes contents of the file are still being transmitted)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant