Skip to content

Commit

Permalink
Slimming down for work purposes.
Browse files Browse the repository at this point in the history
  • Loading branch information
atropos112 committed Mar 20, 2024
1 parent cb768af commit bcd8881
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 355 deletions.
20 changes: 0 additions & 20 deletions lua/atro/plugins/cmp.lua
Original file line number Diff line number Diff line change
@@ -1,24 +1,4 @@
return {
-- Github Copilot
{
"zbirenbaum/copilot.lua",
event = "InsertEnter",
opts = {
suggestion = {
auto_trigger = true,
keymap = {
accept = "<C-CR>",
},
},
filetypes = {
yaml = true,
markdown = true,
gitcommit = true,
gitrebase = true,
["."] = true,
},
},
},
--- Main autocomplete plugin
{
"hrsh7th/nvim-cmp",
Expand Down
42 changes: 0 additions & 42 deletions lua/atro/plugins/lang_specific/csharp.lua

This file was deleted.

45 changes: 0 additions & 45 deletions lua/atro/plugins/lang_specific/go.lua

This file was deleted.

10 changes: 0 additions & 10 deletions lua/atro/plugins/lang_specific/just.lua

This file was deleted.

23 changes: 0 additions & 23 deletions lua/atro/plugins/lang_specific/markdown.lua

This file was deleted.

57 changes: 0 additions & 57 deletions lua/atro/plugins/lang_specific/rust.lua

This file was deleted.

18 changes: 0 additions & 18 deletions lua/atro/plugins/lang_specific/typst.lua

This file was deleted.

78 changes: 0 additions & 78 deletions lua/atro/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,6 @@ return {
require("mason").setup()
local lsp = require("lspconfig")
require("mason-lspconfig").setup({
ensure_installed = {
"lua_ls",
"jsonls",
"pyright",
"pylsp",
"yamlls",
"dockerls",
"docker_compose_language_service",
"nil_ls",
"rnix",
"bashls",
"typst_lsp",
"rust_analyzer",
"zls",
},
-- NOTE: For per-LSP config details look here: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
handlers = {
function(server_name)
Expand All @@ -88,69 +73,6 @@ return {
capabilities = capabilities,
})
end,

-- INFO: Is covered partialy be the csharp plugin (look at csharp specific config file for details)
["omnisharp"] = function()
lsp.omnisharp.setup({
on_attach = on_attach,
})
end,

["gopls"] = function()
-- NOTE: go plugin take over here so should not pass capabilities or on_attach.
lsp.gopls.setup({
capabilities = capabilities,
})
end,

["lua_ls"] = function()
require("neodev").setup()
lsp.lua_ls.setup({
on_attach = on_attach,
capabilities = capabilities,
settings = {
Lua = {
workspace = { checkThirdParty = false },
telemetry = { enable = false },
},
},
})
end,

["jsonls"] = function()
lsp.jsonls.setup({
on_attach = on_attach,
capabilities = capabilities,
settings = {
json = {
schemas = require("schemastore").json.schemas(),
validate = { enable = true },
},
},
})
end,

["yamlls"] = function()
lsp.yamlls.setup({
on_attach = on_attach,
capabilities = capabilities,
settings = {
yaml = {
schemaStore = {
enable = false,
url = "",
},
schemas = require("schemastore").yaml.schemas({
extra = {
url = "https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/argoproj.io/application_v1alpha1.json",
name = "Argo CD Application",
fileMatch = "argocd-application.yaml",
},
}),
},
},
})
end,
},
})
end,
Expand Down
6 changes: 0 additions & 6 deletions lua/atro/plugins/other.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ return {
},
},

-- Tract time usage
{
"wakatime/vim-wakatime",
event = "BufRead",
},

-- Downloads dependencies for LSP, formatter and debugger
{
"williamboman/mason.nvim",
Expand Down
2 changes: 1 addition & 1 deletion lua/atro/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ return {
auto_install = true,
ignore_install = {},
modules = {},
ensure_installed = { "c", "lua", "vim", "go", "python", "nix", "rust", "bash", "dockerfile", "toml" },
ensure_installed = { "python" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
Expand Down
12 changes: 0 additions & 12 deletions wip/plugins/plugin/aerial.lua

This file was deleted.

22 changes: 0 additions & 22 deletions wip/plugins/plugin/harpoon.lua

This file was deleted.

21 changes: 0 additions & 21 deletions wip/plugins_to_consider.lua

This file was deleted.

0 comments on commit bcd8881

Please sign in to comment.