From a4c71a4a245f6b9eef846d07da67a7c236b25c62 Mon Sep 17 00:00:00 2001 From: Talon Date: Sun, 30 Jul 2023 15:17:03 -0600 Subject: [PATCH] no markdown autofolding --- fnl/init.fnl | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/fnl/init.fnl b/fnl/init.fnl index 8134385..3fce754 100644 --- a/fnl/init.fnl +++ b/fnl/init.fnl @@ -9,24 +9,20 @@ lazypath])) (vim.opt.rtp:prepend lazypath) (lazy.setup ["https://github.com/rktjmp/hotpot.nvim" - "https://github.com/julienvincent/nvim-paredit" - "https://github.com/preservim/vim-markdown" - "https://github.com/nvim-lua/plenary.nvim" - {:url "https://github.com/nvim-telescope/telescope.nvim" - :tag :0.1.2} - {:url "https://github.com/nvim-telescope/telescope-fzf-native.nvim" - :build (.. "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release" - " && cmake --build build --config Release" - " && cmake --install build --prefix build")} {:url "https://github.com/nvim-treesitter/nvim-treesitter" :build ":TSUpdate"} + ;TODO "https://github.com/julienvincent/nvim-paredit" + "https://github.com/preservim/vim-markdown" + "https://github.com/richardbizik/nvim-toc" + "https://github.com/nvim-lua/plenary.nvim" + "https://github.com/serenevoid/kiwi.nvim" {:url "https://github.com/neovim/nvim-lspconfig" :dependencies ["https://github.com/williamboman/mason.nvim" :williamboman/mason-lspconfig.nvim {:url "https://github.com/j-hui/fidget.nvim" :tag :legacy :opts {}} - :folke/neodev.nvim]} + "https://github.com/folke/neodev.nvim"]} {:url "https://github.com/hrsh7th/nvim-cmp" :dependencies ["https://github.com/hrsh7th/cmp-nvim-lsp" "https://github.com/hrsh7th/cmp-buffer" @@ -36,19 +32,26 @@ {:url "https://github.com/L3MON4D3/LuaSnip" :dependencies ["https://github.com/saadparwaiz1/cmp_luasnip" "https://github.com/rafamadriz/friendly-snippets"]} + {:url "https://github.com/nvim-telescope/telescope.nvim" + :tag :0.1.2 + :dependencies [{:url "https://github.com/nvim-telescope/telescope-fzf-native.nvim" + :build (.. "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release" + " && cmake --build build --config Release" + " && cmake --install build --prefix build")}]} "https://github.com/sainnhe/everforest" - "https://github.com/serenevoid/kiwi.nvim" - "https://github.com/tamton-aquib/duck.nvim" - ])) + "https://github.com/tamton-aquib/duck.nvim"])) (let [personalize (require :personalize)] (personalize.options) (personalize.keymap)) +(set vim.g.vim_markdown_folding_disabled 1) + (let [telescope (require :telescope)] (pcall (telescope.load_extension :fzf))) (require :setup-treesitter) +;TODO (require :setup-paredit) (require :setup-mason) (require :setup-cmp) (require :setup-kiwi)