From ad0a1654e2b7ed38a4a9c57cf637f9ae84cdfeef Mon Sep 17 00:00:00 2001 From: Tomasz Polgrabia Date: Sat, 1 Mar 2025 20:55:55 +0100 Subject: [PATCH] Adding rust syntax plugin for neovim. --- scripts/nvim/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/nvim/init.lua b/scripts/nvim/init.lua index b9aeb89..1e4ee28 100644 --- a/scripts/nvim/init.lua +++ b/scripts/nvim/init.lua @@ -10,6 +10,8 @@ o.shiftwidth = 2 o.expandtab = true vim.cmd('source ~/.config/nvim/bundles/vim-plug/plug.vim') +vim.cmd('syntax enable') +vim.cmd('filetype plugin indent on') local Plug = vim.fn['plug#'] vim.call('plug#begin') @@ -19,6 +21,7 @@ Plug 'mattn/vim-lsp-settings' Plug 'williamboman/mason.nvim' Plug 'mfussenegger/nvim-jdtls' Plug 'preservim/nerdtree' +Plug 'rust-lang/rust.vim' -- Plug('neoclide/coc.nvim', {branch = 'release'})