diff --git a/init.lua b/init.lua index f3ceb44..951d4dd 100644 --- a/init.lua +++ b/init.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - local module_name = "base" local utils = require("utils") diff --git a/lua/bootstrap.lua b/lua/bootstrap.lua index 97d4594..dff6c99 100644 --- a/lua/bootstrap.lua +++ b/lua/bootstrap.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - local version = vim.version() if version.major == 0 then diff --git a/lua/core/autocommands.lua b/lua/core/autocommands.lua index 1df8441..e69de29 100644 --- a/lua/core/autocommands.lua +++ b/lua/core/autocommands.lua @@ -1,16 +0,0 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - diff --git a/lua/core/globals.lua b/lua/core/globals.lua index 764bafd..81080cf 100644 --- a/lua/core/globals.lua +++ b/lua/core/globals.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - vim.g.mapleader = " " vim.g.vimsyn_embed = "1" vim.cmd.language("en_US.utf-8") diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 9f87dfc..a2a4ea4 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - --- Tab mappings --- vim.keymap.set("n", "tn", vim.cmd.tabnew) vim.keymap.set("n", "tq", vim.cmd.tabclose) diff --git a/lua/core/options.lua b/lua/core/options.lua index a869a41..7287519 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - vim.opt.cursorline = true vim.opt.number = true vim.opt.relativenumber = true diff --git a/lua/core/user_commands.lua b/lua/core/user_commands.lua index 9f0ad1c..56aea4d 100644 --- a/lua/core/user_commands.lua +++ b/lua/core/user_commands.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - local module_name = "core.user_commands" local utils = require("utils") diff --git a/lua/lsp.lua b/lua/lsp.lua index 17c1b2b..b29c0d8 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - local package_name = "lsp" local utils = require("utils") diff --git a/lua/lsp/bashls.lua b/lua/lsp/bashls.lua index 9ccf542..0ab6103 100644 --- a/lua/lsp/bashls.lua +++ b/lua/lsp/bashls.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - return { enabled = true, dependencies = { diff --git a/lua/lsp/clangd.lua b/lua/lsp/clangd.lua index fe65c54..6116904 100644 --- a/lua/lsp/clangd.lua +++ b/lua/lsp/clangd.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - return { enabled = true, lspconfig = { diff --git a/lua/lsp/cmake.lua b/lua/lsp/cmake.lua index ce4d571..a7eebc8 100644 --- a/lua/lsp/cmake.lua +++ b/lua/lsp/cmake.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - return { enabled = true, dependencies = { diff --git a/lua/lsp/diagnosticls.lua b/lua/lsp/diagnosticls.lua index 2b9e3a5..1f99595 100644 --- a/lua/lsp/diagnosticls.lua +++ b/lua/lsp/diagnosticls.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- For more info see: -- https://github.com/iamcco/diagnostic-languageserver diff --git a/lua/lsp/gopls.lua b/lua/lsp/gopls.lua index 36ef2ea..94273fb 100644 --- a/lua/lsp/gopls.lua +++ b/lua/lsp/gopls.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- spec: https://rust-analyzer.github.io/manual.html#configuration return { diff --git a/lua/lsp/intelephense.lua b/lua/lsp/intelephense.lua index 0281432..dd1deab 100644 --- a/lua/lsp/intelephense.lua +++ b/lua/lsp/intelephense.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- spec: https://github.com/bmewburn/intelephense-docs/blob/master/installation.md return { diff --git a/lua/lsp/jedi_language_server.lua b/lua/lsp/jedi_language_server.lua index c506a10..6a0d56e 100644 --- a/lua/lsp/jedi_language_server.lua +++ b/lua/lsp/jedi_language_server.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - return { enabled = true, dependencies = { diff --git a/lua/lsp/lemminx.lua b/lua/lsp/lemminx.lua index cbccd23..29488c2 100644 --- a/lua/lsp/lemminx.lua +++ b/lua/lsp/lemminx.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- spec: https://github.com/eclipse/lemminx/blob/main/docs/Configuration.md return { diff --git a/lua/lsp/lua_ls.lua b/lua/lsp/lua_ls.lua index 33f2bf4..cdbc577 100644 --- a/lua/lsp/lua_ls.lua +++ b/lua/lsp/lua_ls.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- spec: https://luals.github.io/wiki/settings/ return { diff --git a/lua/lsp/phpactor.lua b/lua/lsp/phpactor.lua index e2e3377..f036af9 100644 --- a/lua/lsp/phpactor.lua +++ b/lua/lsp/phpactor.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- spec: https://phpactor.readthedocs.io/en/master/reference/configuration.html return { diff --git a/lua/lsp/rust_analyzer.lua b/lua/lsp/rust_analyzer.lua index a53e252..d484ddf 100644 --- a/lua/lsp/rust_analyzer.lua +++ b/lua/lsp/rust_analyzer.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- spec: https://rust-analyzer.github.io/manual.html#configuration return { diff --git a/lua/lsp/zls.lua b/lua/lsp/zls.lua index ecda715..1cb0d24 100644 --- a/lua/lsp/zls.lua +++ b/lua/lsp/zls.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - return { enabled = true, dependencies = { diff --git a/lua/plugins.lua b/lua/plugins.lua index bd669ce..faee850 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - vim.loader.enable() local plugins = { diff --git a/lua/plugins/bufdelete.lua b/lua/plugins/bufdelete.lua index c40231c..49d88c9 100644 --- a/lua/plugins/bufdelete.lua +++ b/lua/plugins/bufdelete.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/famiu/bufdelete.nvim local function setup() diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 44dabdf..edc3d0d 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/hrsh7th/nvim-cmp local function has_words_before() diff --git a/lua/plugins/comment.lua b/lua/plugins/comment.lua index 400a45d..ea6a3ef 100644 --- a/lua/plugins/comment.lua +++ b/lua/plugins/comment.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/numToStr/Comment.nvim local function setup() diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index 30180d0..01aff70 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/mfussenegger/nvim-dap local M = {} diff --git a/lua/plugins/dap_ui.lua b/lua/plugins/dap_ui.lua index 22269b5..12b27f3 100644 --- a/lua/plugins/dap_ui.lua +++ b/lua/plugins/dap_ui.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/rcarriga/nvim-dap-ui local function setup() diff --git a/lua/plugins/diffview.lua b/lua/plugins/diffview.lua index 0d34c74..a82a244 100644 --- a/lua/plugins/diffview.lua +++ b/lua/plugins/diffview.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/sindrets/diffview.nvim local function setup() diff --git a/lua/plugins/fidget.lua b/lua/plugins/fidget.lua index 2b48c3a..55ef068 100644 --- a/lua/plugins/fidget.lua +++ b/lua/plugins/fidget.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/j-hui/fidget.nvim local function setup() diff --git a/lua/plugins/flog.lua b/lua/plugins/flog.lua index 418b1d4..a77882d 100644 --- a/lua/plugins/flog.lua +++ b/lua/plugins/flog.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/rbong/vim-flog local function setup() diff --git a/lua/plugins/fm-nvim.lua b/lua/plugins/fm-nvim.lua index 5c16bb8..1e72a47 100644 --- a/lua/plugins/fm-nvim.lua +++ b/lua/plugins/fm-nvim.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/is0n/fm-nvim local function setup() diff --git a/lua/plugins/fugitive.lua b/lua/plugins/fugitive.lua index b30b441..23c8d30 100644 --- a/lua/plugins/fugitive.lua +++ b/lua/plugins/fugitive.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/tpope/vim-fugitive local function setup() diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua index 71d7369..bb17998 100644 --- a/lua/plugins/gitsigns.lua +++ b/lua/plugins/gitsigns.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/lewis6991/gitsigns.nvim local function setup() diff --git a/lua/plugins/grapple.lua b/lua/plugins/grapple.lua index b6371b4..9bb7ec0 100644 --- a/lua/plugins/grapple.lua +++ b/lua/plugins/grapple.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/cbochs/grapple.nvim local function setup() diff --git a/lua/plugins/indent-blankline.lua b/lua/plugins/indent-blankline.lua index 54a9346..0c5c3c9 100644 --- a/lua/plugins/indent-blankline.lua +++ b/lua/plugins/indent-blankline.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - local function setup() require("ibl").setup({ enabled = true, diff --git a/lua/plugins/lsp-inlayhints.lua b/lua/plugins/lsp-inlayhints.lua index f6c486e..37b51ab 100644 --- a/lua/plugins/lsp-inlayhints.lua +++ b/lua/plugins/lsp-inlayhints.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/lvimuser/lsp-inlayhints.nvim local function setup() diff --git a/lua/plugins/lspkind.lua b/lua/plugins/lspkind.lua index e7a48bc..26d1086 100644 --- a/lua/plugins/lspkind.lua +++ b/lua/plugins/lspkind.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/onsails/lspkind.nvim -- configured and loaded in plugins.config.cmp diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index 86146c1..f632286 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/nvim-lualine/lualine.nvim local function setup() diff --git a/lua/plugins/luasnip.lua b/lua/plugins/luasnip.lua index 99c20d7..d7415f5 100644 --- a/lua/plugins/luasnip.lua +++ b/lua/plugins/luasnip.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/L3MON4D3/LuaSnip local function setup() diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua index 49565fe..32fea3d 100644 --- a/lua/plugins/mason.lua +++ b/lua/plugins/mason.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/williamboman/mason.nvim local function setup() diff --git a/lua/plugins/mason_lspconfig.lua b/lua/plugins/mason_lspconfig.lua index 7613c5e..456d174 100644 --- a/lua/plugins/mason_lspconfig.lua +++ b/lua/plugins/mason_lspconfig.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/williamboman/mason-lspconfig.nvim local function setup() diff --git a/lua/plugins/mason_update_all.lua b/lua/plugins/mason_update_all.lua index 2ebf674..c0711b9 100644 --- a/lua/plugins/mason_update_all.lua +++ b/lua/plugins/mason_update_all.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/RubixDev/mason-update-all local function setup() diff --git a/lua/plugins/moonfly.lua b/lua/plugins/moonfly.lua index 0cb04a6..aa56cbf 100644 --- a/lua/plugins/moonfly.lua +++ b/lua/plugins/moonfly.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/bluz71/vim-moonfly-colors local function setup() diff --git a/lua/plugins/move.lua b/lua/plugins/move.lua index ad8b653..52a2f24 100644 --- a/lua/plugins/move.lua +++ b/lua/plugins/move.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/fedepujol/move.nvim local function setup() diff --git a/lua/plugins/notify.lua b/lua/plugins/notify.lua index c3c616f..b9aac03 100644 --- a/lua/plugins/notify.lua +++ b/lua/plugins/notify.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/rcarriga/nvim-notify local function setup() diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua index e5f8829..7e408a2 100644 --- a/lua/plugins/orgmode.lua +++ b/lua/plugins/orgmode.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/nvim-orgmode/orgmode local function setup() diff --git a/lua/plugins/symbols-outline.lua b/lua/plugins/symbols-outline.lua index 325878c..6553707 100644 --- a/lua/plugins/symbols-outline.lua +++ b/lua/plugins/symbols-outline.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/simrat39/symbols-outline.nvim local function setup() diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 2655e56..3365453 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/nvim-telescope/telescope.nvim local function setup() diff --git a/lua/plugins/tokyonight.lua b/lua/plugins/tokyonight.lua index dc01208..43e712a 100644 --- a/lua/plugins/tokyonight.lua +++ b/lua/plugins/tokyonight.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/folke/tokyonight.nvim local function setup() diff --git a/lua/plugins/treesitter-context.lua b/lua/plugins/treesitter-context.lua index 3b0082f..5525d05 100644 --- a/lua/plugins/treesitter-context.lua +++ b/lua/plugins/treesitter-context.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/nvim-treesitter/nvim-treesitter-context local function setup() diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 7475d7c..1596f92 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/nvim-treesitter/nvim-treesitter local function setup() diff --git a/lua/plugins/vscode.lua b/lua/plugins/vscode.lua index f7d1b06..ab92eee 100644 --- a/lua/plugins/vscode.lua +++ b/lua/plugins/vscode.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/Mofiqul/vscode.nvim local function setup() diff --git a/lua/plugins/winresizer.lua b/lua/plugins/winresizer.lua index 304cdad..28934b3 100644 --- a/lua/plugins/winresizer.lua +++ b/lua/plugins/winresizer.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/simeji/winresizer local function setup() diff --git a/lua/plugins/winshift.lua b/lua/plugins/winshift.lua index 1bce088..c659293 100644 --- a/lua/plugins/winshift.lua +++ b/lua/plugins/winshift.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - -- https://github.com/sindrets/winshift.nvim local function setup() diff --git a/lua/pytest.lua b/lua/pytest.lua index 9f02bfd..1c0ea4e 100644 --- a/lua/pytest.lua +++ b/lua/pytest.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - local utils = require("utils") local M = {} diff --git a/lua/utils.lua b/lua/utils.lua index 02539f6..b4918c6 100644 --- a/lua/utils.lua +++ b/lua/utils.lua @@ -1,19 +1,3 @@ ---[[ - Copyright 2023 Oscar Wallberg - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -]] - local M = {} M.os_name = vim.uv.os_uname().sysname