Dotnet: Coding Support

- Neovim LSP and code completion config
- .zshrc: dotnet completions plugin added
- .zshrc: Syntax-highlighting & autosuggestions are now installed
  through brew
This commit is contained in:
Pratik Tripathy
2024-05-12 21:41:10 +05:30
parent 63e26375a5
commit cdc7f24982
3 changed files with 8 additions and 2 deletions

View File

@@ -15,6 +15,9 @@ return {
"hrsh7th/cmp-path", "hrsh7th/cmp-path",
"hrsh7th/cmp-buffer", "hrsh7th/cmp-buffer",
"hrsh7th/cmp-vsnip",
"hrsh7th/vim-vsnip",
-- Adds a number of user-friendly snippets -- Adds a number of user-friendly snippets
"rafamadriz/friendly-snippets", "rafamadriz/friendly-snippets",
}, },

View File

@@ -69,6 +69,7 @@ return {
}, },
bashls = { filetypes = { "sh", "bash", "zsh" } }, bashls = { filetypes = { "sh", "bash", "zsh" } },
html = { filetypes = { "html", "twig", "hbs" } }, html = { filetypes = { "html", "twig", "hbs" } },
omnisharp = {},
tsserver = { tsserver = {
settings = { settings = {
completions = { completions = {

View File

@@ -53,9 +53,8 @@ plugins=(
docker-compose docker-compose
per-directory-history per-directory-history
sudo sudo
zsh-syntax-highlighting
zsh-autosuggestions
vi-mode vi-mode
dotnet
exercism exercism
) )
VI_MODE_SET_CURSOR=true VI_MODE_SET_CURSOR=true
@@ -67,6 +66,9 @@ export ZSH_COMPDUMP="$XDG_CACHE_HOME/zsh/zcompdump-$HOST"
source "$ZSH/oh-my-zsh.sh" source "$ZSH/oh-my-zsh.sh"
source "$(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
source "$(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
# To customize prompt, run `p10k configure` # To customize prompt, run `p10k configure`
[[ ! -f "$XDG_CONFIG_HOME/shell/p10k.zsh" ]] || source "$XDG_CONFIG_HOME/shell/p10k.zsh" [[ ! -f "$XDG_CONFIG_HOME/shell/p10k.zsh" ]] || source "$XDG_CONFIG_HOME/shell/p10k.zsh"