Skip to content

AndreM222/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NVIM Dotfiles

Contents ๐Ÿ“ฆ

  • Neovim Configuration

Navigation โœˆ๏ธ

Back To Windows-Dotfiles <- (For Detailed Setup)

Dependencies ๐Ÿ“ƒ

  • Neovim >= 0.10.0 (needs to be built with LuaJIT)

  • Nerd Fonts >= 3.0

Setup โš’๏ธ

Scoop - Needs Installation
or
  • Fira-Font - brew install --casck font-fira-code-nerd-font

Neovim Plugins ๐Ÿ“ฒ

Directory Structure ๐Ÿ—‚๏ธ

๐Ÿ“‚ $HOME/AppData/Local/Nvim
|__๐Ÿ“‚lua/andrem222
|   |__๐Ÿ“‚ lang
|   |   |__๐Ÿ“‘ All Translations Files
|   |__๐Ÿ“‚ pluginDev
|   |   |__๐Ÿ“‘ All Personal Plugin Installation and Setup Files
|   |__๐Ÿ“‚ plugins
|   |   |__๐Ÿ“‘ All Plugin Installation and Setup Files
|   |__๐Ÿ“„bindings.lua
|   |__๐Ÿ“„config.lua
|   |__๐Ÿ“„debug.lua
|   |__๐Ÿ“„devconfig.lua
|   |__๐Ÿ“„langMSG.lua
|   |__๐Ÿ“„lazy.lua
|   |__๐Ÿ“„theme.lua
|__๐Ÿ“„init.lua

Languages ๐Ÿ—ฃ๏ธ

Completion, Format, Compiler, and Linter

Servers ๐Ÿ—ƒ๏ธ


Winget - Windows Installed

C++ winget install clangd

Lua winget install lua-language-server

NodeJS - Needs Installation

Live-Server npm install -g live-server

Python npm install -g pyright

Typescript npm install -g typescript typescript-language-server

Tailwind CSS npm install -g tailwindcss-language-server

Dotnet - Windows Installed

C-Sharp dotnet tool install --global csharp-ls

Format Languages ๐Ÿ“„


C++ at the setup of llvm

Pip - Needs Installation

Python pip install --upgrade autopep8

NodeJS - Needs Installation

Marksman npm install -g marksman

Typescript npm install -g prettier

Compilers And Intrepeters โš™๏ธ


Winget - Windows Installed
  • Python - At the installation of Python Package Manager

  • Rust - At the installation of Rust Package Manager

  • C++ - winget install -i LLVM.LLVM

NodeJS - Needs Installation
  • NodeJS - At the installation of NodeJS Package Manager

Translations ๐ŸŒ

Because I am currently learning japanese and trying to use it daily I wanted to change the language of the setup. But knowing some people who use english may want to use my setup I have decided to add translations in the dotfiles.

When run nvim will pass the language you have set and translate it to the desired language. If no language available or translation than it will setup the default message.

Warning

Japanese is still now available. Will be coming as soon as I finish learning sufficient to bring a well translated configuration.

Format for translations:

    "Message to print (message Id)": {
        "msgstr (Translated message/Id)": ""
    },

Location of translation files:

๐Ÿ“‚ $HOME/AppData/Local/Nvim/lua/andrem222/lang
|__๐Ÿ“‘ All Translations Files

Info โ„น๏ธ

[!INFO] To visualize on vim the keybindings press F5. I also documented all my custom bindings.

Debugging ๐Ÿž

Problem: Icons are not showing completly

Fix:

Some fonts do not work well with some color themes and can cause that issue or the terminal.
You have to try until you find the right font, switch the theme, terminal or make tweaks by yourself. Generaly fonts ending with mono work.

problem: Transparency Not Available

Fix:

Check you enabled transparency in the temrinal. If you still encounter
problems then you probably have to enable it from your nvim configuration.
Dracula theme transparency is not sufficient so some tweaks are requried.
For example:
                colors = {},
                transparent_bg = true,
                show_end_of_buffer = true,
                overrides = {
                    EndOfBuffer = { fg = "#282A36" }
                },

This will disable the background from dracula so transparency can be seen.

Problem: C-Sharp not running

Fix: You are required to create a project for it to work

Problem: Customize format

Fix:

Look for the documentation to make the changes on the CLI.

For clang-format: https://clang.llvm.org/docs/ClangFormat.html
For prettier: https://prettier.io/docs/en/options.html#vue-files-script-and-style-tags-indentation

Problem: C++ compiler not working

Fix:

When installing LLVM choose add to path.
Also be use clang if you are using LLVM

Problem: Markdown-Preview not installing

Fix:

In case of not installing. You can go directly to the installed plugins
folder, and run the installer manually.

About

My nvim portable setup

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages