From 1eae93bb8bb249fc47c4beb481040bdc66e9af2d Mon Sep 17 00:00:00 2001 From: theonepath Date: Sat, 27 Jan 2024 12:42:09 +0000 Subject: [PATCH] Removed files --- after/plugin/hls.lua | 26 -------- lua/plugins.lua | 150 ------------------------------------------- lua/presser | 1 - 3 files changed, 177 deletions(-) delete mode 100644 after/plugin/hls.lua delete mode 100644 lua/plugins.lua delete mode 120000 lua/presser diff --git a/after/plugin/hls.lua b/after/plugin/hls.lua deleted file mode 100644 index 796c17b..0000000 --- a/after/plugin/hls.lua +++ /dev/null @@ -1,26 +0,0 @@ -local ok, hls = pcall(require, 'hls') -if not ok then - print("hls is not installed.") - return -end - -if hls == nil then - return -end - -hls.setup { - cmd = { "haskell-language-server-wrapper", '--lsp' }, - filetypes = { "haskell", "lhaskell" }, - root_dir = function (filepath) - return ( - vim.util.root_pattern('hie.yaml', 'stack.yaml', 'cabal.project')(filepath) - or vim.util.root_pattern('*.cabal', 'package.yaml')(filepath) - ) - end, - settings = { - haskell = { - formattingProvider = "ormolu" - } - }, - single_file_support = true, -} diff --git a/lua/plugins.lua b/lua/plugins.lua deleted file mode 100644 index fa61822..0000000 --- a/lua/plugins.lua +++ /dev/null @@ -1,150 +0,0 @@ --- Grab Packer. (This should be OS agnostic) --- by Iron-E and khuedoan on GitHub -local fn = vim.fn -local install_path = vim.fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim' - -if not vim.loop.fs_stat(install_path) then - if not fn.executable("git") == 1 then - print("Could not find git. Packer installation failed.") - return - end - Packer_bootstrap = fn.system({ - 'git', - 'clone', - '--depth', - '1', - 'https://github.com/wbthomason/packer.nvim', - install_path - }) - vim.cmd 'packadd packer.nvim' -end - -return require('packer').startup(function() - -- get Packer to manage itself - use 'wbthomason/packer.nvim' - use 'morhetz/gruvbox' -- Neovim editor theme (gruvbox MVP) - use 'williamboman/mason.nvim' -- better lspconfig interface - use { - 'williamboman/mason-lspconfig.nvim', - requires = { - 'neovim/nvim-lspconfig', -- Configurations for Nvim LSP - 'williamboman/mason.nvim' - } - } - - use { - 'jay-babu/mason-null-ls.nvim', - requires = { - 'jose-elias-alvarez/null-ls.nvim', - 'williamboman/mason.nvim' - } - } - - use { - 'jay-babu/mason-nvim-dap.nvim', - requires = { - 'williamboman/mason.nvim', - 'mfussenegger/nvim-dap' - } - } - use { - 'rcarriga/nvim-dap-ui', - requires = { - "mfussenegger/nvim-dap" - } - } - - ---[[ use { - 'gleinir/lspsaga.nvim',-- Interact with LSP a little easier - branch='main' - } ---]] - - -- learn this - use 'tpope/vim-surround' - -- differentiate brackets - use 'luochen1990/rainbow' - -- File tree - use 'preservim/nerdtree' - -- Distraction free writing - use 'junegunn/goyo.vim' - -- The Best Thing EVER - use 'vimwiki/vimwiki' - -- Eyecandy lbh - use 'bling/vim-airline' - -- better comments - use 'scrooloose/nerdcommenter' - -- Show colours - use 'ap/vim-css-color' - -- Add snippets - use 'honza/vim-snippets' - -- highlight matching html tags - use 'valloric/matchtagalways' - -- Syntax highlighting extension - use 'sheerun/vim-polyglot' - -- Autocomplete brackets and punctutation - use 'jiangmiao/auto-pairs' - -- Debug Adaptor Protocol (added for mason.nvim), and null-ls for linter and formatting - use 'mfussenegger/nvim-dap' - use 'jose-elias-alvarez/null-ls.nvim' - - -- treesitter - use { - 'nvim-treesitter/nvim-treesitter', - run = function() - local ts_update = require('nvim-treesitter.install').update({ with_sync = true }) - ts_update() - end, - } - - -- Live Preview of MD - use { - "iamcco/markdown-preview.nvim", - run = "cd app && npm install", - setup = function() vim.g.mkdp_filetypes = { "markdown" } end, - ft = { "markdown" }, - } - - use 'rbgrouleff/bclose.vim' - -- Telescope dependencies and entry - use { - { - 'nvim-telescope/telescope-fzf-native.nvim', - run = 'make', - }, - { - 'nvim-telescope/telescope.nvim', - branch = '0.1.x', - requires = { {'nvim-lua/plenary.nvim'} } - }, - { - "nvim-telescope/telescope-file-browser.nvim" - }, - } - - use { - 'hrsh7th/nvim-cmp', - 'hrsh7th/cmp-buffer', -- completion source - 'hrsh7th/cmp-path', -- completion source - 'hrsh7th/cmp-nvim-lua', -- completion source - 'hrsh7th/cmp-nvim-lsp', -- completion source - 'L3MON4D3/LuaSnip', - 'saadparwaiz1/cmp_luasnip', - 'onsails/lspkind.nvim' - } - - use 'j-hui/fidget.nvim' - - use { - "folke/trouble.nvim", - requires = "nvim-tree/nvim-web-devicons", - } - - use 'folke/neodev.nvim' - - if Packer_bootstrap then - require'packer'.sync() - require'packer'.compile() - end -end) diff --git a/lua/presser b/lua/presser deleted file mode 120000 index 9528e2f..0000000 --- a/lua/presser +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Ethan/Documents/ClosedLess/presser.nvim/lua/presser \ No newline at end of file