aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.luarc.json5
-rw-r--r--nvim/init.lua33
-rw-r--r--nvim/lazy-lock.json21
-rw-r--r--nvim/lua/plugins.lua2
-rw-r--r--nvim/lua/plugins/catppuccin.lua10
-rw-r--r--nvim/lua/plugins/completions.lua45
-rw-r--r--nvim/lua/plugins/crystal-highlight.lua3
-rw-r--r--nvim/lua/plugins/lsp-configs.lua47
-rw-r--r--nvim/lua/plugins/lualine.lua13
-rw-r--r--nvim/lua/plugins/neotree.lua14
-rw-r--r--nvim/lua/plugins/telescope.lua29
-rw-r--r--nvim/lua/plugins/treesitter.lua16
12 files changed, 0 insertions, 238 deletions
diff --git a/nvim/.luarc.json b/nvim/.luarc.json
deleted file mode 100644
index 1e1765c6d..000000000
--- a/nvim/.luarc.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "diagnostics.globals": [
- "vim"
- ]
-} \ No newline at end of file
diff --git a/nvim/init.lua b/nvim/init.lua
deleted file mode 100644
index 0645d787b..000000000
--- a/nvim/init.lua
+++ /dev/null
@@ -1,33 +0,0 @@
-vim.cmd("set expandtab")
-vim.cmd("set tabstop=2")
-vim.cmd("set softtabstop=2")
-vim.cmd("set shiftwidth=2")
-vim.cmd("set number")
-vim.g.mapleader = " "
-
--- Bootstrap lazy.nvim
-local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-if not (vim.uv or vim.loop).fs_stat(lazypath) then
- local lazyrepo = "https://github.com/folke/lazy.nvim.git"
- local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
- if vim.v.shell_error ~= 0 then
- vim.api.nvim_echo({
- { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
- { out, "WarningMsg" },
- { "\nPress any key to exit..." },
- }, true, {})
- vim.fn.getchar()
- os.exit(1)
- end
-end
-vim.opt.rtp:prepend(lazypath)
-local opts = {}
-
-require("lazy").setup("plugins")
-
-
-
-
-
-
-
diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json
deleted file mode 100644
index d01f35513..000000000
--- a/nvim/lazy-lock.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "LuaSnip": { "branch": "master", "commit": "ce0a05ab4e2839e1c48d072c5236cce846a387bc" },
- "catppuccin": { "branch": "main", "commit": "31fcfb02c47952d5c75aec893b93b2878abe5fbb" },
- "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
- "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
- "friendly-snippets": { "branch": "main", "commit": "682157939e57bd6a2c86277dfd4d6fbfce63dbac" },
- "lazy.nvim": { "branch": "main", "commit": "6ca23c15f64e88e3ba26be9795343c4c7f2ee851" },
- "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
- "mason-lspconfig.nvim": { "branch": "main", "commit": "37a336b653f8594df75c827ed589f1c91d91ff6c" },
- "mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" },
- "neo-tree.nvim": { "branch": "v1.x", "commit": "29f7c215332ba95e470811c380ddbce2cebe2af4" },
- "nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" },
- "nvim-cmp": { "branch": "main", "commit": "a110e12d0b58eefcf5b771f533fc2cf3050680ac" },
- "nvim-lspconfig": { "branch": "master", "commit": "cf97d2485fc3f6d4df1b79a3ea183e24c272215e" },
- "nvim-treesitter": { "branch": "master", "commit": "f2f828c5e995af156106a4aa5647463e49fff66a" },
- "nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
- "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
- "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
- "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
- "vim-crystal": { "branch": "master", "commit": "dc21188ec8c2ee77bb81dffca02e1a29d87cfd9f" }
-} \ No newline at end of file
diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua
deleted file mode 100644
index 35d5f7045..000000000
--- a/nvim/lua/plugins.lua
+++ /dev/null
@@ -1,2 +0,0 @@
-
-return {}
diff --git a/nvim/lua/plugins/catppuccin.lua b/nvim/lua/plugins/catppuccin.lua
deleted file mode 100644
index 2d31ae4c7..000000000
--- a/nvim/lua/plugins/catppuccin.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-return {
- {
- "catppuccin/nvim",
- name = "catppuccin",
- priority = 1000,
- config = function()
- vim.cmd.colorscheme "catppuccin"
- end
- }
-} \ No newline at end of file
diff --git a/nvim/lua/plugins/completions.lua b/nvim/lua/plugins/completions.lua
deleted file mode 100644
index f4c58254c..000000000
--- a/nvim/lua/plugins/completions.lua
+++ /dev/null
@@ -1,45 +0,0 @@
-return {
- {
- "hrsh7th/cmp-nvim-lsp"
- },
- {
- "L3MON4D3/LuaSnip",
- dependencies = {
- "saadparwaiz1/cmp_luasnip",
- "rafamadriz/friendly-snippets"
- }
- },
- {
- "hrsh7th/nvim-cmp",
- config = function()
- local cmp = require'cmp'
-
- require("luasnip.loaders.from_vscode").lazy_load()
- cmp.setup({
- snippet = {
- -- REQUIRED - you must specify a snippet engine
- expand = function(args)
- require("luasnip").lsp_expand(args.body)
- end,
- },
- window = {
- completion = cmp.config.window.bordered(),
- documentation = cmp.config.window.bordered(),
- },
- mapping = cmp.mapping.preset.insert({
- ['<C-b>'] = cmp.mapping.scroll_docs(-4),
- ['<C-f>'] = cmp.mapping.scroll_docs(4),
- ['<C-Space>'] = cmp.mapping.complete(),
- ['<C-e>'] = cmp.mapping.abort(),
- ['<CR>'] = cmp.mapping.confirm({ select = true }),
- }),
- sources = cmp.config.sources({
- -- { name = 'nvim_lsp' },
- { name = 'luasnip' }
- }, {
- { name = 'buffer' },
- })
- })
- end
- }
-}
diff --git a/nvim/lua/plugins/crystal-highlight.lua b/nvim/lua/plugins/crystal-highlight.lua
deleted file mode 100644
index abe74b2b7..000000000
--- a/nvim/lua/plugins/crystal-highlight.lua
+++ /dev/null
@@ -1,3 +0,0 @@
-return {
- "vim-crystal/vim-crystal"
-}
diff --git a/nvim/lua/plugins/lsp-configs.lua b/nvim/lua/plugins/lsp-configs.lua
deleted file mode 100644
index f9ec8f087..000000000
--- a/nvim/lua/plugins/lsp-configs.lua
+++ /dev/null
@@ -1,47 +0,0 @@
-return {
- {
- "williamboman/mason.nvim",
- config = function()
- require("mason").setup()
- end
- },
- {
- "williamboman/mason-lspconfig.nvim",
- config = function()
- require("mason-lspconfig").setup({
- ensure_installed = { "lua_ls", "clangd", "crystalline", "html", "htmx", "jsonls", "ols"},
- })
- end
- },
- {
- "neovim/nvim-lspconfig",
- config = function()
- local lspconfig = require("lspconfig")
- local capabilities = require('cmp_nvim_lsp').default_capabilities()
- lspconfig.lua_ls.setup({
- capabilities = capabilities
- })
- lspconfig.clangd.setup({
- capabilities = capabilities
- })
- lspconfig.crystalline.setup({
- capabilities = capabilities
- })
- lspconfig.html.setup({
- capabilities = capabilities
- })
- lspconfig.htmx.setup({
- capabilities = capabilities
- })
- lspconfig.jsonls.setup({
- capabilities = capabilities
- })
- lspconfig.ols.setup({
- capabilities = capabilities
- })
- vim.keymap.set('n','gd', vim.lsp.buf.definition, {})
- vim.keymap.set('n','K', vim.lsp.buf.hover, {})
- vim.keymap.set({'n'},'<leader>ca', vim.lsp.buf.code_action, {})
- end
- }
-}
diff --git a/nvim/lua/plugins/lualine.lua b/nvim/lua/plugins/lualine.lua
deleted file mode 100644
index 253666690..000000000
--- a/nvim/lua/plugins/lualine.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-return {
- {
- "nvim-lualine/lualine.nvim",
- config = function()
- require('lualine').setup({
- option = {
- theme = "dracula"
- }
- })
- end
- }
-
-}
diff --git a/nvim/lua/plugins/neotree.lua b/nvim/lua/plugins/neotree.lua
deleted file mode 100644
index b2322a971..000000000
--- a/nvim/lua/plugins/neotree.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- {
- "nvim-neo-tree/neo-tree.nvim",
- branch = "v1.x",
- dependencies = {
- "nvim-lua/plenary.nvim",
- "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
- "MunifTanjim/nui.nvim"
- },
- config = function()
- vim.keymap.set('n','<C-n>', ':Neotree toggle<CR>', {})
- end
- }
-}
diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua
deleted file mode 100644
index fc67a5db1..000000000
--- a/nvim/lua/plugins/telescope.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-return {
- {
- 'nvim-telescope/telescope.nvim',
- tag = '-2.1.8',
- dependencies = { 'nvim-lua/plenary.nvim' },
- config = function()
- local builtin = require("telescope.builtin")
-
- vim.keymap.set('n','<C-p>', builtin.find_files, {})
- vim.keymap.set('n','<leader>fg', builtin.live_grep, {})
- end
- },
- {
- "nvim-telescope/telescope-ui-select.nvim",
- config = function()
- require("telescope").setup {
- extensions = {
- ["ui-select"] = {
- require("telescope.themes").get_dropdown {
- }
-
- }
- }
- }
- require("telescope").load_extension("ui-select")
- end
- }
-}
-
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua
deleted file mode 100644
index cec1c061d..000000000
--- a/nvim/lua/plugins/treesitter.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-return{
- {
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate",
- config = function()
-
- local config = require("nvim-treesitter.configs")
- config.setup({
- ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html", "css","fish","json","make","odin","rasi","xml" },
- sync_install = false,
- highlight = { enable = true },
- indent = { enable = true },
- })
- end
- }
-}