From 3797afae89131928c66b546f87db78dfee0ba648 Mon Sep 17 00:00:00 2001 From: offa Date: Mon, 5 Aug 2024 22:22:15 +0200 Subject: [PATCH] Add SECURITY.md --- SECURITY.md | 11 +++++++++++ init.lua | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..c1bbe9a --- /dev/null +++ b/SECURITY.md @@ -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. + diff --git a/init.lua b/init.lua index 73474e3..9a011ad 100644 --- a/init.lua +++ b/init.lua @@ -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") -- }} @@ -231,4 +231,11 @@ vim.api.nvim_set_keymap("n", "f", "", { -- Nvim-Tree vim.api.nvim_set_keymap("n", "e", ":NvimTreeFindFileToggle", { noremap = true, silent = true }) + +-- Outline +require("outline").setup{} +vim.api.nvim_set_keymap("n", "o", "Outline", { noremap = true, silent = true }) + +-- Code Actions +vim.api.nvim_set_keymap('n', 'ca', 'lua vim.lsp.buf.code_action()', { noremap = true, silent = true }) -- }}