From b348710bd53c93253fa56ea884ac6eb27f1e04df Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 16 May 2025 00:35:39 -0400 Subject: [PATCH] fix(docs, configs): removed build_attribues from docs and configs; removed unnecessary requirements from installation and index --- docs/index.md | 3 +-- docs/installation.md | 8 -------- docs/languages/c.md | 7 +------ docs/languages/cpp.md | 8 +------- docs/setup.md | 6 +++--- lua/Polydev/configs.lua | 2 -- 6 files changed, 6 insertions(+), 28 deletions(-) diff --git a/docs/index.md b/docs/index.md index aedf6d4..8df7d2f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,8 +4,7 @@ - - +

diff --git a/docs/installation.md b/docs/installation.md index 68424f8..cabab09 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -1,11 +1,3 @@ -# **Installation** - -Polydev can be installed using any plugin manager of your choice — or even manually. Below are some examples for popular managers to get you started. - -> **Requirement**: Neovim v0.10+ - ---- - ## **Lazy.nvim** ```lua diff --git a/docs/languages/c.md b/docs/languages/c.md index 67810c8..6178ffe 100644 --- a/docs/languages/c.md +++ b/docs/languages/c.md @@ -1,9 +1,3 @@ -### **Build** -```lua --- Adds build attributes when compiling if you need extra arguments -build_attributes = "" -``` - #### File Structure 📂 This is the recommended file structure for your C projects using Polydev: @@ -28,6 +22,7 @@ Projects/ │ ├── main.c │ └── *.c ├── build/ + │ └── │ └── └── include/ └── *.h diff --git a/docs/languages/cpp.md b/docs/languages/cpp.md index 7eab12f..1c0cb1f 100644 --- a/docs/languages/cpp.md +++ b/docs/languages/cpp.md @@ -1,10 +1,3 @@ -### Build -```lua --- Adds build attributes when compiling if you need extra arguments -build_attributes = "" -``` ---- - #### File Structure 📂 This is the recommended file structure for your C projects using Polydev: @@ -29,6 +22,7 @@ Projects/ │ ├── main.cpp │ └── *.cpp ├── build/ + │ └── │ └── └── include/ └── *.hpp diff --git a/docs/setup.md b/docs/setup.md index 7236d01..426fdd3 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -3,8 +3,8 @@ | Binding | Description | |------------------|-----------------| -| **Enter** | `Open file / Enter directory` | -| **Delete** | `Go to parent directory` | +| **ENTER** | `Open file / Enter directory` | +| **DELETE** | `Go to parent directory` | | **/** | `Filter (fuzzy search)` | | **a** | `Create new folder` | | **%** | `Create new file` | @@ -12,7 +12,7 @@ | **d** | `Create new project` | | **R** | `Rename file/folder` | | **D** | `Delete file/folder` | -| **q** | `Quit popup` | +| **ESC** | `Quit popup` | > **WARNING**: Do not copy the defaults. Only change what you need for your workflow! diff --git a/lua/Polydev/configs.lua b/lua/Polydev/configs.lua index dcbedd2..b08a423 100644 --- a/lua/Polydev/configs.lua +++ b/lua/Polydev/configs.lua @@ -41,14 +41,12 @@ local function default_languages(project_root) keybinds = { ["pr"] = "CRun", }, - build_attributes = "", }, cpp = { project_root = project_root .. "/CPP", keybinds = { ["pr"] = "CppRun", }, - build_attributes = "", }, html = { project_root = project_root .. "/Html",