fix(docs, configs): removed build_attribues from docs and configs; removed unnecessary requirements from installation and index

This commit is contained in:
DarthMooMancer
2025-05-16 00:35:39 -04:00
parent 0ac0267888
commit b348710bd5
6 changed files with 6 additions and 28 deletions
+1 -2
View File
@@ -4,8 +4,7 @@
<img src="https://img.shields.io/badge/Lua-1e90ff?style=for-the-badge&logo=lua&logoColor=white" /> <img src="https://img.shields.io/badge/Lua-1e90ff?style=for-the-badge&logo=lua&logoColor=white" />
<img src="https://img.shields.io/badge/Neovim-0.10%2B-32c48d?style=for-the-badge&logo=neovim&logoColor=white" /> <img src="https://img.shields.io/badge/Neovim-0.10%2B-32c48d?style=for-the-badge&logo=neovim&logoColor=white" />
<img src="https://img.shields.io/github/stars/DarthMooMancer/Polydev?style=for-the-badge&logo=github" /> <img src="https://img.shields.io/github/stars/DarthMooMancer/Polydev?style=for-the-badge&logo=github" />
<img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge" /> <img src="https://img.shields.io/badge/License-Apache-yellow.svg?style=for-the-badge" />
<img src="https://img.shields.io/badge/Docs-Available-blue?style=for-the-badge&logo=readthedocs&logoColor=white" />
</p> </p>
<p align="center"> <p align="center">
-8
View File
@@ -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** ## **Lazy.nvim**
```lua ```lua
+1 -6
View File
@@ -1,9 +1,3 @@
### **Build**
```lua
-- Adds build attributes when compiling if you need extra arguments
build_attributes = ""
```
#### File Structure 📂 #### File Structure 📂
This is the recommended file structure for your C projects using Polydev: This is the recommended file structure for your C projects using Polydev:
@@ -28,6 +22,7 @@ Projects/
│ ├── main.c │ ├── main.c
│ └── *.c │ └── *.c
├── build/ ├── build/
│ └── <CMAKE_FILES>
│ └── <main-executable> │ └── <main-executable>
└── include/ └── include/
└── *.h └── *.h
+1 -7
View File
@@ -1,10 +1,3 @@
### Build
```lua
-- Adds build attributes when compiling if you need extra arguments
build_attributes = ""
```
---
#### File Structure 📂 #### File Structure 📂
This is the recommended file structure for your C projects using Polydev: This is the recommended file structure for your C projects using Polydev:
@@ -29,6 +22,7 @@ Projects/
│ ├── main.cpp │ ├── main.cpp
│ └── *.cpp │ └── *.cpp
├── build/ ├── build/
│ └── <CMAKE_FILES>
│ └── <main-executable> │ └── <main-executable>
└── include/ └── include/
└── *.hpp └── *.hpp
+3 -3
View File
@@ -3,8 +3,8 @@
| Binding | Description | | Binding | Description |
|------------------|-----------------| |------------------|-----------------|
| **Enter** | `Open file / Enter directory` | | **ENTER** | `Open file / Enter directory` |
| **Delete** | `Go to parent directory` | | **DELETE** | `Go to parent directory` |
| **/** | `Filter (fuzzy search)` | | **/** | `Filter (fuzzy search)` |
| **a** | `Create new folder` | | **a** | `Create new folder` |
| **%** | `Create new file` | | **%** | `Create new file` |
@@ -12,7 +12,7 @@
| **d** | `Create new project` | | **d** | `Create new project` |
| **R** | `Rename file/folder` | | **R** | `Rename file/folder` |
| **D** | `Delete 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! > **WARNING**: Do not copy the defaults. Only change what you need for your workflow!
-2
View File
@@ -41,14 +41,12 @@ local function default_languages(project_root)
keybinds = { keybinds = {
["<leader>pr"] = "CRun", ["<leader>pr"] = "CRun",
}, },
build_attributes = "",
}, },
cpp = { cpp = {
project_root = project_root .. "/CPP", project_root = project_root .. "/CPP",
keybinds = { keybinds = {
["<leader>pr"] = "CppRun", ["<leader>pr"] = "CppRun",
}, },
build_attributes = "",
}, },
html = { html = {
project_root = project_root .. "/Html", project_root = project_root .. "/Html",