Comments (3)
from verilog_systemverilog.vim.
The current implementation of the indentation script focuses on correctness of indentation, which would become broken with such limit.
This limit can be implemented, but first I'd like to better understand your scenario to make sure there are no alternatives.
What are you doing when this slowness occurs? Are you indenting the complete file, or simply starting a new line?
In case of the latter, would it be possible to show the immediate context before this new line? I understand you will not be able to share the 2k lines file, but I'd like to understand if there's something we could use to obtain an indentation value faster.
Thanks!
from verilog_systemverilog.vim.
When I opened a verilog file with more than 2 thousands of interface signals, I wanted to insert a new line to add a new signal, Vim would waiting long time to response (it seemed to scan too many lines to determine the correct context). I tried to add a limit to constrain the max scan lines to speed this. I think you can add a global variable to implement this (i.e. It is better to record the current context into a variable. When reached the max scaned line number but cannot determine the context, you can use the recorded context instead).
from verilog_systemverilog.vim.
Related Issues (20)
- System Verilog struct and class member auto completion HOT 3
- Coc-snippets don't trigger HOT 4
- Can I get this indent? if yes what settings do I need to use... HOT 22
- Syntax folding doesn't work HOT 1
- neovim 0.72, 1st open .v file, variable g:verilog_syntax can not find error as below HOT 6
- Not working in version 8.2 HOT 2
- Not working in Neovim 0.8.1 HOT 4
- Please tag the latest release HOT 1
- Automatically Create "work" folder
- Typedef classes are not handled by Omnicomplete HOT 3
- Verilog_syntax error HOT 3
- Undefined variable: g:verilog_syntax HOT 5
- This plugin breaks verilog_emacsauto.vim HOT 4
- [BUG] macros breaking indentation HOT 17
- Decrement operator followed by semicolon is treated as open statement HOT 1
- Add commentstring for vim commentary HOT 3
- Folding works on some files HOT 3
- Undefined variable: g:verilog_syntax HOT 2
- Indent conflict between modport and clocking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verilog_systemverilog.vim.