Skip to content

Commit

Permalink
Add lsp settings
Browse files Browse the repository at this point in the history
  • Loading branch information
filkaris committed Jun 21, 2024
1 parent 27d1d19 commit 1085234
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 41 deletions.
7 changes: 7 additions & 0 deletions vim/lsp.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
vim.cmd('source ~/.config/nvim/init.vim')

require("mason").setup()
require("mason-lspconfig").setup()

-- Python
require("lspconfig").pyright.setup{}
72 changes: 31 additions & 41 deletions vim/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,34 @@ Plugin 'lumiliet/vim-twig'
" IDE
" LSP config
Plugin 'neovim/nvim-lspconfig'
Plugin 'williamboman/mason.nvim'
Plugin 'williamboman/mason-lspconfig.nvim'
" FuzzyFind
Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
" Ctags
Plugin 'ludovicchabant/vim-gutentags' "install ctags binary
" Autocompletion
Plugin 'ncm2/ncm2'
Plugin 'roxma/nvim-yarp'
Plugin 'phpactor/phpactor' "run composer install
Plugin 'phpactor/ncm2-phpactor'
" Simple wrapper. CSS completion is vim native
Plugin 'ncm2/ncm2-cssomni'
Plugin 'vim-vdebug/vdebug'

" Linting
Plugin 'w0rp/ale'
" Quickfix PHPUnit TODO
"Bundle 'joonty/vim-phpunitqf.git'
"Plugin 'afternoon/vim-phpunit'
" EditorConfig (.editorconfig)
"Plugin 'editorconfig/editorconfig-vim'

" Markdown folding
Plugin 'masukomi/vim-markdown-folding'

" Theme
Plugin 'EdenEast/nightfox.nvim'

" AI Autocomlete
" Tabby plugin
Plugin 'TabbyML/vim-tabby'
" Add config here. Example config:
"let g:tabby_keybinding_accept = '<Tab>'

" To Deprecate ------------------
" Svelte
Plugin 'evanleck/vim-svelte'
" Elixir
Plugin 'elixir-editors/vim-elixir'
" Openscad
Plugin 'sirtaj/vim-openscad'
" JSX IDE
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
Expand All @@ -67,37 +73,21 @@ Plugin 'peitalin/vim-jsx-typescript'
Plugin 'Quramy/tsuquyomi'
" Omni-complete dependency
Plugin 'Shougo/vimproc.vim' "run make

" GoLang IDE
Plugin 'fatih/vim-go'
Plugin 'ncm2/ncm2-go'

" ELM
Plugin 'ElmCast/elm-vim'

" Svelte
Plugin 'evanleck/vim-svelte'

" Markdown folding
Plugin 'masukomi/vim-markdown-folding'

" Elixir
Plugin 'elixir-editors/vim-elixir'

" Openscad
Plugin 'sirtaj/vim-openscad'

" NEW lsp
"Plugin 'neovim/nvim-lspconfig'

" Theme
Plugin 'EdenEast/nightfox.nvim'

" AI Autocomlete
" Tabby plugin
Plugin 'TabbyML/vim-tabby'
" Add config here. Example config:
"let g:tabby_keybinding_accept = '<Tab>'
" Ctags
Plugin 'ludovicchabant/vim-gutentags' "install ctags binary
" Autocompletion
Plugin 'ncm2/ncm2'
Plugin 'roxma/nvim-yarp'
Plugin 'phpactor/phpactor' "run composer install
Plugin 'phpactor/ncm2-phpactor'
" Simple wrapper. CSS completion is vim native
Plugin 'ncm2/ncm2-cssomni'
Plugin 'vim-vdebug/vdebug'

call vundle#end() " required
filetype plugin indent on " required
Expand Down

0 comments on commit 1085234

Please sign in to comment.