Skip to content

Commit

Permalink
Add SECURITY.md
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Aug 5, 2024
1 parent 3245d8a commit 3797afa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
11 changes: 11 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# Security Policy

## Reporting a Vulnerability

To report a security issue, please use [*Report a Vulnerability*](https://github.com/offa/nvim-config/security/advisories/new). **Do not** submit a public issue.

## Responsible Disclosure

Security vulnerabilities are taken seriously, and help in disclosing them responsibly is appreciated. Please refrain from disclosing the vulnerability publicly until it has been addressed.

9 changes: 8 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Plug "sbdchd/neoformat"
Plug "sheerun/vim-polyglot"
Plug "numToStr/Comment.nvim"
Plug "windwp/nvim-autopairs"

Plug "hedyhli/outline.nvim"
vim.call("plug#end")
-- }}

Expand Down Expand Up @@ -231,4 +231,11 @@ vim.api.nvim_set_keymap("n", "<Leader>f", "", {

-- Nvim-Tree
vim.api.nvim_set_keymap("n", "<leader>e", ":NvimTreeFindFileToggle<CR>", { noremap = true, silent = true })

-- Outline
require("outline").setup{}
vim.api.nvim_set_keymap("n", "<leader>o", "<cmd>Outline<CR>", { noremap = true, silent = true })

-- Code Actions
vim.api.nvim_set_keymap('n', '<leader>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', { noremap = true, silent = true })
-- }}

0 comments on commit 3797afa

Please sign in to comment.