diff options
| author | Leander <80996591+m0ntagur@users.noreply.github.com> | 2023-07-22 15:38:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-22 15:38:23 +0200 |
| commit | f60b4dc97bf7204a5bc3fe316df2ce4bd709babd (patch) | |
| tree | 21bb5a36cd7f206bfef73a44fd2a0cdf2a27e82e | |
| parent | 0561e714bb476d936e51f6e49292542712255dec (diff) | |
Delete nvim directory
| -rw-r--r-- | nvim/init.vim | 114 | ||||
| -rw-r--r-- | nvim/plugin/autopairs.lua | 6 | ||||
| -rw-r--r-- | nvim/plugin/autotag.lua | 4 | ||||
| -rw-r--r-- | nvim/plugin/cmp.lua | 34 | ||||
| -rw-r--r-- | nvim/plugin/colorizer.lua | 6 | ||||
| -rw-r--r-- | nvim/plugin/dashboard.lua | 27 | ||||
| -rw-r--r-- | nvim/plugin/lspconfig.lua | 38 | ||||
| -rw-r--r-- | nvim/plugin/lspkind.lua | 49 | ||||
| -rw-r--r-- | nvim/plugin/lspsaga.lua | 16 | ||||
| -rw-r--r-- | nvim/plugin/lualine.lua | 43 | ||||
| -rw-r--r-- | nvim/plugin/mason.lua | 24 | ||||
| -rw-r--r-- | nvim/plugin/telescope.lua | 78 | ||||
| -rw-r--r-- | nvim/plugin/treesitter.lua | 23 | ||||
| -rw-r--r-- | nvim/plugin/tst | 1 | ||||
| -rw-r--r-- | nvim/plugin/web-devicons.lua | 12 | ||||
| -rw-r--r-- | nvim/plugin/zen-mode.lua | 7 |
16 files changed, 0 insertions, 482 deletions
diff --git a/nvim/init.vim b/nvim/init.vim deleted file mode 100644 index 22da85c..0000000 --- a/nvim/init.vim +++ /dev/null @@ -1,114 +0,0 @@ -" Configuration
-" ---------------------------------------
- set encoding=UTF-8
- set fileencoding=UTF-8
-
- syntax on
- set number
- set notitle
- set autoindent
- set nobackup
- set laststatus=2
- set ignorecase
- set smarttab
- set breakindent
- set shiftwidth=2
- set showcmd
- set ai
- set si
- set nowrap
- set clipboard^=unnamed,unnamedplus
- set termguicolors
-
-" Plugins
-" ---------------------------------------
-
- call plug#begin()
-
- " Themes
- " 🏙️ TokyoNight
- " A clean, dark Neovim theme written in Lua
- Plug 'folke/tokyonight.nvim'
-
- " 🌟 NeoSolarized
- " A fixed solarized colorscheme for better truecolor support.
- Plug 'overcache/NeoSolarized'
-
- " Plugin
- " 😄 DevIcons
- " Adds file type icons to Vim plugins
- Plug 'kyazdani42/nvim-web-devicons'
-
- " 📏 Lualine
- " Customizable status line
- Plug 'nvim-lualine/lualine.nvim'
-
- " 📄 lspconfig
- " Language Server Protocol Configuration
- Plug 'neovim/nvim-lspconfig'
-
- " 📦 Mason
- "
- Plug 'williamboman/mason.nvim'
- Plug 'williamboman/mason-lspconfig'
-
- " ⚡ lspsaga
- " A light-weight lsp plugin based on neovim's built-in lsp with a highly performant UI.
- Plug 'glepnir/lspsaga.nvim', { 'branch': 'main' }
-
- " 💻 CMP
- " A completion engine plugin written in Lua
- Plug 'hrsh7th/nvim-cmp'
- Plug 'hrsh7th/cmp-nvim-lsp'
- Plug 'hrsh7th/cmp-buffer'
-
- " 🏷️ Autotag/pairs
- "
- Plug 'windwp/nvim-autopairs'
- Plug 'windwp/nvim-ts-autotag'
-
- " ✨ LuaSnip
- " Snippet Engine for Neovim written in Lua
- Plug 'L3MON4D3/LuaSnip'
-
- " 📦 lspkind
- " Adds symbol next to the autocompletion
- Plug 'onsails/lspkind.nvim'
-
- " 🌳 Treesitter
- " Better highlighting
- Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
-
- " 🔭 Telescopec
- " Find, Filter, Preview, Pick Files
- Plug 'nvim-lua/plenary.nvim'
- Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' }
- Plug 'nvim-telescope/telescope-file-browser.nvim'
-
- " 🚦 Trouble
- " A pretty list for showing diagnostics, references, telescope results, quickfix and location lists
- " Plug 'folke/trouble.nvim'
-
- " 🎨 Colorizer
- " A high-performance color highlighter for Neovim
- Plug 'norcalli/nvim-colorizer.lua'
-
- " 🧘 Zen Mode
- " Distraction-free coding for Neovim
- Plug 'folke/zen-mode.nvim'
-
- " 🎛️ Dashboard
- " Customizable NeoVim start screen
- Plug 'glepnir/dashboard-nvim'
-
- call plug#end()
-
-" Theme
-" ---------------------------------------
-
- " 🏙️ Tokyo Night Configuration
- let g:tokyonight_style = "storm"
- let g:tokyonight_transparent = 1
- let g:tokyonight_transparent_sidebar = 1
-
- colorscheme tokyonight
diff --git a/nvim/plugin/autopairs.lua b/nvim/plugin/autopairs.lua deleted file mode 100644 index f04342b..0000000 --- a/nvim/plugin/autopairs.lua +++ /dev/null @@ -1,6 +0,0 @@ -local status, autopairs = pcall(require, "nvim-autopairs")
-if (not status) then return end
-
-autopairs.setup({
- disable_filetype = { "TelescopePrompt" },
-})
\ No newline at end of file diff --git a/nvim/plugin/autotag.lua b/nvim/plugin/autotag.lua deleted file mode 100644 index ac6fb8f..0000000 --- a/nvim/plugin/autotag.lua +++ /dev/null @@ -1,4 +0,0 @@ -local status, autotag = pcall(require, 'nvim-ts-autotag')
-if (not status) then return end
-
-autotag.setup()
diff --git a/nvim/plugin/cmp.lua b/nvim/plugin/cmp.lua deleted file mode 100644 index 09a2772..0000000 --- a/nvim/plugin/cmp.lua +++ /dev/null @@ -1,34 +0,0 @@ -local status, cmp = pcall(require, "cmp")
-if (not status) then return end
-
-local lspkind = require 'lspkind'
-
-cmp.setup({
- snippet = {
- expand = function(args)
- require('luasnip').lsp_expand(args.body)
- end,
- },
- mapping = cmp.mapping.preset.insert({
- ['<C-d>'] = cmp.mapping.scroll_docs(-4),
- ['<C-f>'] = cmp.mapping.scroll_docs(4),
- ['<C-Space>'] = cmp.mapping.complete(),
- ['<C-e>'] = cmp.mapping.close(),
- ['<CR>'] = cmp.mapping.confirm({
- behavior = cmp.ConfirmBehavior.Replace,
- select = true
- }),
- }),
- sources = cmp.config.sources({
- { name = 'nvim_lsp' },
- { name = 'buffer' },
- }),
- formatting = {
- format = lspkind.cmp_format({ with_text = false, maxwidth = 50 })
- }
-})
-
-vim.cmd [[
- set completeopt=menuone,noinsert,noselect
- highlight! default link CmpItemKind CmpItemMenuDefault
-]]
\ No newline at end of file diff --git a/nvim/plugin/colorizer.lua b/nvim/plugin/colorizer.lua deleted file mode 100644 index 62a654c..0000000 --- a/nvim/plugin/colorizer.lua +++ /dev/null @@ -1,6 +0,0 @@ -local status, colorizer = pcall(require, "colorizer")
-if (not status) then return end
-
-colorizer.setup({
- '*';
-})
diff --git a/nvim/plugin/dashboard.lua b/nvim/plugin/dashboard.lua deleted file mode 100644 index fb72238..0000000 --- a/nvim/plugin/dashboard.lua +++ /dev/null @@ -1,27 +0,0 @@ -local status, dashboard = pcall(require, 'dashboard')
-if not status then return end
-
-dashboard.custom_header= {
-'',
-'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡴⠞⢳⠀⠀⠀⠀⠀',
-'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡔⠋⠀⢰⠎⠀⠀⠀⠀⠀',
-'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⢆⣤⡞⠃⠀⠀⠀⠀⠀⠀',
-'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⢠⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀',
-'⠀⠀⠀⠀⢀⣀⣾⢳⠀⠀⠀⠀⢸⢠⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀',
-'⣀⡤⠴⠊⠉⠀⠀⠈⠳⡀⠀⠀⠘⢎⠢⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀',
-'⠳⣄⠀⠀⡠⡤⡀⠀⠘⣇⡀⠀⠀⠀⠉⠓⠒⠺⠭⢵⣦⡀⠀⠀⠀',
-'⠀⢹⡆⠀⢷⡇⠁⠀⠀⣸⠇⠀⠀⠀⠀⠀⢠⢤⠀⠀⠘⢷⣆⡀⠀',
-'⠀⠀⠘⠒⢤⡄⠖⢾⣭⣤⣄⠀⡔⢢⠀⡀⠎⣸⠀⠀⠀⠀⠹⣿⡀',
-'⠀⠀⢀⡤⠜⠃⠀⠀⠘⠛⣿⢸⠀⡼⢠⠃⣤⡟⠀⠀⠀⠀⠀⣿⡇',
-'⠀⠀⠸⠶⠖⢏⠀⠀⢀⡤⠤⠇⣴⠏⡾⢱⡏⠁⠀⠀⠀⠀⢠⣿⠃',
-'⠀⠀⠀⠀⠀⠈⣇⡀⠿⠀⠀⠀⡽⣰⢶⡼⠇⠀⠀⠀⠀⣠⣿⠟⠀',
-'⠀⠀⠀⠀⠀⠀⠈⠳⢤⣀⡶⠤⣷⣅⡀⠀⠀⠀⣀⡠⢔⠕⠁⠀⠀',
-'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠫⠿⠿⠿⠛⠋⠁⠀⠀⠀⠀',
-'',
-}
-
-dashboard.custom_center = {
- { icon=' ', desc='Find File', action='Telescope find_files find_command=rg,--hidden,--files'},
- { icon=' ', desc='File Browser', action='Telescope file_browser'},
- { icon=' ', desc='Settings', action='e C:/Users/Leander/AppData/Local/nvim/init.vim'},
-}
diff --git a/nvim/plugin/lspconfig.lua b/nvim/plugin/lspconfig.lua deleted file mode 100644 index 80950e3..0000000 --- a/nvim/plugin/lspconfig.lua +++ /dev/null @@ -1,38 +0,0 @@ -local status, lspconfig = pcall(require, 'lspconfig')
-if (not status) then return end
-
-
-
-lspconfig.pyright.setup {}
-
-lspconfig.sumneko_lua.setup {
- settings = {
- Lua = {
- diagnostics = {
- -- get the language server to recognize the 'vim' globals
- globals = { 'vim' }
- },
-
- workspace = {
- libary = vim.api.nvim_get_runtime_file("", true)
- }
- }
- }
-}
-
--- Diagnostic symbols in the sign column (gutter)
-local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
-for type, icon in pairs(signs) do
- local hl = "DiagnosticSign" .. type
- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
-end
-
-vim.diagnostic.config({
- virtual_text = {
- prefix = '●'
- },
- update_in_insert = true,
- float = {
- source = "always", -- Or "if_many"
- },
-})
diff --git a/nvim/plugin/lspkind.lua b/nvim/plugin/lspkind.lua deleted file mode 100644 index 6027051..0000000 --- a/nvim/plugin/lspkind.lua +++ /dev/null @@ -1,49 +0,0 @@ -require('lspkind').init({
- -- DEPRECATED (use mode instead): enables text annotations
- --
- -- default: true
- -- with_text = true,
-
- -- defines how annotations are shown
- -- default: symbol
- -- options: 'text', 'text_symbol', 'symbol_text', 'symbol'
- mode = 'symbol_text',
-
- -- default symbol map
- -- can be either 'default' (requires nerd-fonts font) or
- -- 'codicons' for codicon preset (requires vscode-codicons font)
- --
- -- default: 'default'
- preset = 'codicons',
-
- -- override preset symbols
- --
- -- default: {}
- symbol_map = {
- Text = "",
- Method = "",
- Function = "",
- Constructor = "",
- Field = "ﰠ",
- Variable = "",
- Class = "ﴯ",
- Interface = "",
- Module = "",
- Property = "ﰠ",
- Unit = "塞",
- Value = "",
- Enum = "",
- Keyword = "",
- Snippet = "",
- Color = "",
- File = "",
- Reference = "",
- Folder = "",
- EnumMember = "",
- Constant = "",
- Struct = "פּ",
- Event = "",
- Operator = "",
- TypeParameter = ""
- },
-})
diff --git a/nvim/plugin/lspsaga.lua b/nvim/plugin/lspsaga.lua deleted file mode 100644 index e215b30..0000000 --- a/nvim/plugin/lspsaga.lua +++ /dev/null @@ -1,16 +0,0 @@ -local status, saga = pcall(require, "lspsaga")
-if (not status) then return end
-
-saga.init_lsp_saga {
- server_filetype_map = {
- typescript = 'typescript'
- }
-}
-
-local opts = { noremap = true, silent = true }
-vim.keymap.set('n', '<C-j>', '<Cmd>Lspsaga diagnostic_jump_next<CR>', opts)
-vim.keymap.set('n', 'K', '<Cmd>Lspsaga hover_doc<CR>', opts)
-vim.keymap.set('n', 'gd', '<Cmd>Lspsaga lsp_finder<CR>', opts)
-vim.keymap.set('i', '<C-k>', '<Cmd>Lspsaga signature_help<CR>', opts)
-vim.keymap.set('n', 'gp', '<Cmd>Lspsaga preview_definition<CR>', opts)
-vim.keymap.set('n', 'gr', '<Cmd>Lspsaga rename<CR>', opts)
diff --git a/nvim/plugin/lualine.lua b/nvim/plugin/lualine.lua deleted file mode 100644 index 00a13fb..0000000 --- a/nvim/plugin/lualine.lua +++ /dev/null @@ -1,43 +0,0 @@ -local status, lualine = pcall(require, 'lualine')
-if (not status) then return end
-
-lualine.setup {
- options = {
- icons_enabled = true,
- theme = 'auto',
- component_separators = { left = '', right = ''},
- section_separators = { left = '', right = ''},
- disabled_filetypes = {
- statusline = {},
- winbar = {},
- },
- ignore_focus = {},
- always_divide_middle = true,
- globalstatus = false,
- refresh = {
- statusline = 1000,
- tabline = 1000,
- winbar = 1000,
- }
- },
- sections = {
- lualine_a = {'mode'},
- lualine_b = {'branch', 'diff', 'diagnostics'},
- lualine_c = {'filename'},
- lualine_x = {'encoding', 'fileformat', 'filetype'},
- lualine_y = {'progress'},
- lualine_z = {'location'}
- },
- inactive_sections = {
- lualine_a = {},
- lualine_b = {},
- lualine_c = {'filename'},
- lualine_x = {'location'},
- lualine_y = {},
- lualine_z = {}
- },
- tabline = {},
- winbar = {},
- inactive_winbar = {},
- extensions = {}
-}
diff --git a/nvim/plugin/mason.lua b/nvim/plugin/mason.lua deleted file mode 100644 index 91952e4..0000000 --- a/nvim/plugin/mason.lua +++ /dev/null @@ -1,24 +0,0 @@ -local status, mason = pcall(require, 'mason')
-if (not status) then return end
-
-local status2, masonlspconfig = pcall(require, 'mason-lspconfig')
-if (not status2) then return end
-
-mason.setup({
- ui = {
- icons = {
- package_installed = "✓",
- package_pending = "➜",
- package_uninstalled = "✗"
- }
- }
-})
-
-masonlspconfig.setup {
-
- ensure_installed = {},
-
- -- false: Servers are not automatically installed.
- -- true: All servers set up via lspconfig are automatically installed.
- automatic_installation = false,
-}
diff --git a/nvim/plugin/telescope.lua b/nvim/plugin/telescope.lua deleted file mode 100644 index 37b9b86..0000000 --- a/nvim/plugin/telescope.lua +++ /dev/null @@ -1,78 +0,0 @@ -local status, telescope = pcall(require, "telescope")
-if (not status) then return end
-local actions = require('telescope.actions')
-local builtin = require("telescope.builtin")
-
-local function telescope_buffer_dir()
- return vim.fn.expand('%:p:h')
-end
-
-local fb_actions = require "telescope".extensions.file_browser.actions
-
-telescope.setup {
- defaults = {
- mappings = {
- n = {
- ["q"] = actions.close
- },
- },
- },
- extensions = {
- file_browser = {
- theme = "dropdown",
- -- disables netrw and use telescope-file-browser in its place
- hijack_netrw = true,
- mappings = {
- -- your custom insert mode mappings
- ["i"] = {
- ["<C-w>"] = function() vim.cmd('normal vbd') end,
- },
- ["n"] = {
- -- your custom normal mode mappings
- ["N"] = fb_actions.create,
- ["h"] = fb_actions.goto_parent_dir,
- ["/"] = function()
- vim.cmd('startinsert')
- end
- },
- },
- },
- },
-}
-
-telescope.load_extension("file_browser")
-
-vim.keymap.set('n', ';f',
- function()
- builtin.find_files({
- no_ignore = false,
- hidden = true
- })
- end)
-vim.keymap.set('n', ';r', function()
- builtin.live_grep()
-end)
-vim.keymap.set('n', '\\\\', function()
- builtin.buffers()
-end)
-vim.keymap.set('n', ';t', function()
- builtin.help_tags()
-end)
-vim.keymap.set('n', ';;', function()
- builtin.resume()
-end)
-vim.keymap.set('n', ';e', function()
- builtin.diagnostics()
-end)
-vim.keymap.set("n", "sf", function()
- telescope.extensions.file_browser.file_browser({
- path = "%:p:h",
- cwd = telescope_buffer_dir(),
- respect_gitignore = false,
- hidden = true,
- grouped = true,
- previewer = false,
- initial_mode = "normal",
- layout_config = { height = 40 }
- })
-end)
\ No newline at end of file diff --git a/nvim/plugin/treesitter.lua b/nvim/plugin/treesitter.lua deleted file mode 100644 index a6b3c40..0000000 --- a/nvim/plugin/treesitter.lua +++ /dev/null @@ -1,23 +0,0 @@ -local status, ts = pcall(require, 'treesitter')
-if (not status) then return end
-
-ts.setup {
- highlight = {
- enable = true,
- disable = {}
- },
- indent = {
- enable = true,
- disable = {}
- },
- ensure_installed = {
- 'lua',
- 'python',
- "css",
- "html",
- "json",
- },
- autotag = {
- enable = true,
- },
-}
diff --git a/nvim/plugin/tst b/nvim/plugin/tst deleted file mode 100644 index 8b13789..0000000 --- a/nvim/plugin/tst +++ /dev/null @@ -1 +0,0 @@ - diff --git a/nvim/plugin/web-devicons.lua b/nvim/plugin/web-devicons.lua deleted file mode 100644 index 536b57f..0000000 --- a/nvim/plugin/web-devicons.lua +++ /dev/null @@ -1,12 +0,0 @@ -local status, icons = pcall(require, 'nvim-web-devicons')
-if (not status) then return end
-
-icons.setup {
- -- your personnal icons can go here (to override)
- -- DevIcon will be appended to `name`
- override = {
- },
- -- globally enable default icons (default to false)
- -- will get overriden by `get_icons` option
- default = true
-}
diff --git a/nvim/plugin/zen-mode.lua b/nvim/plugin/zen-mode.lua deleted file mode 100644 index a973262..0000000 --- a/nvim/plugin/zen-mode.lua +++ /dev/null @@ -1,7 +0,0 @@ -local status, zenMode = pcall(require, "zen-mode")
-if (not status) then return end
-
-zenMode.setup {
-}
-
-vim.keymap.set('n', '<C-w>o', '<cmd>ZenMode<cr>', { silent = true })
|
