lazyvim/README-FA.md
2026-04-26 13:31:08 +03:30

203 lines
9.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div align="center">
<img src="https://user-images.githubusercontent.com/292349/213446185-2db63fd5-8c84-459c-9f04-e286382d6e80.png">
</div>
<hr>
<h4 align="center">
<a href="https://lazyvim.github.io/installation">نصب</a>
·
<a href="https://lazyvim.github.io/configuration">پیکربندی</a>
·
<a href="https://lazyvim.github.io">اسناد</a>
</h4>
<div align="center"><p>
<a href="https://github.com/LazyVim/LazyVim/releases/latest">
<img alt="Latest release" src="https://img.shields.io/github/v/release/LazyVim/LazyVim?style=for-the-badge&logo=starship&color=C9CBFF&logoColor=D9E0EE&labelColor=302D41&include_prerelease&sort=semver" />
</a>
<a href="https://github.com/LazyVim/LazyVim/pulse">
<img alt="Last commit" src="https://img.shields.io/github/last-commit/LazyVim/LazyVim?style=for-the-badge&logo=starship&color=8bd5ca&logoColor=D9E0EE&labelColor=302D41"/>
</a>
<a href="https://github.com/LazyVim/LazyVim/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/LazyVim/LazyVim?style=for-the-badge&logo=starship&color=ee999f&logoColor=D9E0EE&labelColor=302D41" />
</a>
<a href="https://github.com/LazyVim/LazyVim/stargazers">
<img alt="Stars" src="https://img.shields.io/github/stars/LazyVim/LazyVim?style=for-the-badge&logo=starship&color=c69ff5&logoColor=D9E0EE&labelColor=302D41" />
</a>
<a href="https://github.com/LazyVim/LazyVim/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/LazyVim/LazyVim?style=for-the-badge&logo=bilibili&color=F5E0DC&logoColor=D9E0EE&labelColor=302D41" />
</a>
<a href="https://github.com/LazyVim/LazyVim">
<img alt="Repo Size" src="https://img.shields.io/github/repo-size/LazyVim/LazyVim?color=%23DDB6F2&label=SIZE&logo=codesandbox&style=for-the-badge&logoColor=D9E0EE&labelColor=302D41" />
</a>
<a href="https://twitter.com/intent/follow?screen_name=folke">
<img alt="follow on Twitter" src="https://img.shields.io/twitter/follow/folke?style=for-the-badge&logo=twitter&color=8aadf3&logoColor=D9E0EE&labelColor=302D41" />
</a>
</div>
<<<<<<< HEAD
این پیکربندی با نام LazyVim، که قدرت گرفته شده از Neovim هست [💤 lazy.nvim](https://github.com/folke/lazy.nvim)، تا سفارشی سازی و توسعه پیکربندی را برای شما آسان تر کند.
به جای اینکه بخواهید بین شروع از صفر یا استفاده از یک توزیع از قبل ساخته شده انتخاب کنید، LazyVim بهترین هر دو جهان را به شما پیشنهاد میدهد - انعطاف اینکه پیکربندی را طبق نیازتان تغییر بدین، همراه با سادگی تنظیمات از قبل پیکربندی شده.
=======
LazyVim is a Neovim setup powered by [💤 lazy.nvim](https://github.com/folke/lazy.nvim)
to make it easy to customize and extend your config.
Rather than having to choose between starting from scratch or using a
pre-made distro, LazyVim offers the best of both worlds - the flexibility
to tweak your config as needed, along with the convenience of a pre-configured setup.
>>>>>>> d1cdedb5 (making the some changes in Farsi)
![image](https://user-images.githubusercontent.com/292349/211285846-0b7bb3bf-0462-4029-b64c-4ee1d037fc1c.png)
![image](https://user-images.githubusercontent.com/292349/213447056-92290767-ea16-430c-8727-ce994c93e9cc.png)
## ✨ ویژگی ها
<<<<<<< HEAD
- 🔥 تبدیل Neovim به یک IDE کامل
- 💤 اختصاصی کردن و گسترش پیکربندی به سادگی با [lazy.nvim](https://github.com/folke/lazy.nvim)
- 🚀 بسیار سریع
- 🧹 تنظیمات پیش فرض منطقی برای (خودکارسازی ها) options, autocmds (گزینه ها) و keymaps (کلیدهای میانبر)
- 📦 همراه با تعداد زیادی از پلاگین های از پیش پیکربندی شده و آماده استفاده.
## ⚡️ الزامات
- Neovim >= **0.11.2** ( باشد **LuaJIT** باید ساخته شده با )
- Git >= **2.19.0** ( های جزئی clone برای پشتیبانی از)
- فونت [Nerd Font](https://www.nerdfonts.com/) **_(اختیاری)_**
- یک کامپایلر C: برای اطلاعات بیشتر راجب nvim-treesittere، [اینجا](https://github.com/nvim-treesitter/nvim-treesitter#requirements)را ببیند.
## 🚀 شروع به کار
شما می توانید یک قالب اولیه برای شروع LazyVim [اینجا](https://github.com/LazyVim/starter) پیدا کنید.
=======
- 🔥 Transform your Neovim into a full-fledged IDE
- 💤 Easily customize and extend your config with [lazy.nvim](https://github.com/folke/lazy.nvim)
- 🚀 بسیار سریع
- 🧹 Sane default settings for options, autocmds, and keymaps
- 📦 Comes with a wealth of plugins pre-configured and ready to use
## ⚡️ Requirements
- Neovim >= **0.11.2** (needs to be built with **LuaJIT**)
- Git >= **2.19.0** (for partial clones support)
- a [Nerd Font](https://www.nerdfonts.com/) **_(optional)_**
- a **C** compiler for `nvim-treesitter`. See [here](https://github.com/nvim-treesitter/nvim-treesitter#requirements)
## 🚀 شروع به کار
You can find a starter template for **LazyVim** [here](https://github.com/LazyVim/starter)
>>>>>>> d1cdedb5 (making the some changes in Farsi)
<details><summary>با داکر امتحان کنید.</summary>
```sh
docker run -w /root -it --rm alpine:edge sh -uelic '
apk add git lazygit fzf curl neovim ripgrep alpine-sdk --update
git clone https://github.com/LazyVim/starter ~/.config/nvim
cd ~/.config/nvim
nvim
'
```
</details>
<<<<<<< HEAD
<details><summary>نصب <a href="https://github.com/LazyVim/starter">LazyVim Starter</a></summary>
=======
<details><summary>Install the <a href="https://github.com/LazyVim/starter">LazyVim Starter</a></summary>
>>>>>>> d1cdedb5 (making the some changes in Farsi)
- یک بک آپ از فایل های neovim خود بگیرید.
```sh
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
```
<<<<<<< HEAD
- کلون کردن starter
=======
- Clone the starter
>>>>>>> d1cdedb5 (making the some changes in Farsi)
```sh
git clone https://github.com/LazyVim/starter ~/.config/nvim
```
- پوشه .git را حذف کنید، تا بتوانید repo خودتان را بعدا اضافه کنید.
```sh
rm -rf ~/.config/nvim/.git
```
- Neovim را شروع کنید
```sh
nvim
```
<<<<<<< HEAD
برای نحوه‌ی سفارشی‌سازی **LazyVim** به توضیحات موجود در فایل‌ها مراجعه کنید.
</details>
---
یک کتاب بسیار پرمحتوا که توسط [@dusty-phillips](https://github.com/dusty-phillips) نوشته شده است به نام [LazyVim for Ambitious Developers](https://lazyvim-ambitious-devs.phillips.codes) که به صورت آنلاین در دسترس است.
## 📂 ساختار فایل
فایل های داخل پیکربندی به صورت خودکار در زمان مناسب بارگذاری می شوند، شما نیاز نیست که به صورت دستی بارگذاری کنید.
در LazyVim یک مجوعه ای از فایل های پیکربندی پیش فرض وجود دارد، که قبل از فایل های شما بارگذاری می شوند. [اینجا](https://github.com/LazyVim/LazyVim/tree/main/lua/lazyvim/config) را ببینید.
شما می توانید پلاگین های اختصاصی خودتان در `lua/plugins/` اضافه کنید. تمام فایل ها در آنجا به صورت خودکار توسط [lazy.nvim](https://github.com/folke/lazy.nvim) بارگذاری می شوند.
=======
به
Refer to the comments in the files on how to customize **LazyVim**.
</details>
---
[@dusty-phillips](https://github.com/dusty-phillips) یک کتاب بسیار پرمحتوا که توسط
[LazyVim for Ambitious Developers](https://lazyvim-ambitious-devs.phillips.codes)
نوشته شده که به صورت آنلاین در دسترس است.
## 📂 ساختار فایل
The files under config will be automatically loaded at the appropriate time,
so you don't need to require those files manually.
**LazyVim** comes with a set of default config files that will be loaded
**_before_** your own. See [here](https://github.com/LazyVim/LazyVim/tree/main/lua/lazyvim/config)
You can add your custom plugin specs under `lua/plugins/`. All files there
will be automatically loaded by [lazy.nvim](https://github.com/folke/lazy.nvim)
>>>>>>> d1cdedb5 (making the some changes in Farsi)
<pre>
~/.config/nvim
├── lua
│   ├── config
│   │   ├── autocmds.lua
│   │   ├── keymaps.lua
│   │   ├── lazy.lua
│   │   └── options.lua
│   └── plugins
│   ├── spec1.lua
│   ├── **
│   └── spec2.lua
└── init.lua
</pre>
## ⚙️ پیکربندی
<<<<<<< HEAD
رجوع کنید به [اسناد](https://lazyvim.github.io)
=======
رجوع کنید به [docs](https://lazyvim.github.io)
>>>>>>> d1cdedb5 (making the some changes in Farsi)