Skip to content

emirhan8180/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config

My Neovim config.

Features

  • Plugin management with lazy.nvim
  • Auto-completion
  • Package management with mason.nvim
  • LSP support
  • Format on save
  • Git integration
  • Linter
  • Fuzzy finder

How to use it?

Make sure that Neovim is installed.

Clone the repo to Neovim config directory (~/.config/nvim on Linux/macOS or ~/AppData/Local/nvim on Windows):

git clone https://github.com/emirhan8180/nvim-config ~/.config/nvim \
# ~/AppData/Local/nvim on Windows

Install packages that you need with Mason by typing :Mason. This configuration uses the following packages, you can install the ones that you need:

  • Rust
    • rust-analyzer
  • Lua
    • lua-language-server
    • stylua
  • HTML
    • html-lsp
    • htmlhint
    • emmet-language-server
  • Markdown
    • markdownlint
    • marksman
  • JavaScript/TypeScript
    • typescript-language-server
    • biome
  • YAML
    • yamlls
    • yamllint
  • SQL
    • sqls (might need to be configured at ~/.config/sqls/config.yml)
    • sqlfluff
  • Prettier

Config structure

Top level init.lua is for setting up everything and it should only require config files (or only do one-line setups).

/lsp directory includes LSP configurations.

/lua/config includes the following configurations:

  • keymaps.lua for setting keymaps
  • lazy.lua for setting up lazy.nvim
  • lsp.lua enables LSP servers
  • options.lua for editor options

/lua/plugins is for setting up and configuring plugins. Plugins are organized by feature except some bigger plugins, which are in their own files.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages